Closed jonathanoesterle closed 2 years ago
The code would be easier to maintain if all object attributes would be defined in def __init__(self, ...). The hasattr(object, attr) would than have to be replaced with self.attr is None.
def __init__(self, ...)
hasattr(object, attr)
self.attr is None
The code would be easier to maintain if all object attributes would be defined in
def __init__(self, ...)
. Thehasattr(object, attr)
would than have to be replaced withself.attr is None
.