def _effective_value(self, attr_name):
        directly_applied_value = getattr(
            super(_InheritsDimensions, self), attr_name
        )
        if directly_applied_value is not None:
            return directly_applied_value
        return self._inherited_value(attr_name)
Run pep257 on code and return the output.
dataset/ETHPy150Open scanny/python-pptx/pptx/shapes/placeholder.py/_InheritsDimensions._effective_value--crossover with--dataset/ETHPy150Open SublimeLinter/SublimeLinter-pep257/linter.py/PEP257.check