Python framework for building efficient data pipelines. It promotes modularity and collaboration, enabling the creation of complex pipelines from simple, reusable components.
The __getattr__ method in the Step class was returning None when trying to access unavailable attributes in child classes. Additionally, it was shadowing exceptions that should have been raised.
Steps to Reproduce
Create a child class inheriting from Step.
Attempt to access an unavailable attribute in the child class.
Observe that None is returned instead of an exception being raised.
Expected behavior
An AttributeError should be raised when trying to access an unavailable attribute in the Step child classes.
Describe the bug
The
__getattr__
method in theStep
class was returningNone
when trying to access unavailable attributes in child classes. Additionally, it was shadowing exceptions that should have been raised.Steps to Reproduce
Step
.None
is returned instead of an exception being raised.Expected behavior
An
AttributeError
should be raised when trying to access an unavailable attribute in theStep
child classes.