Skip to content

Commit

Permalink
We no longer need to check if the attribute/class is a subclass of IDWH.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tashev committed May 9, 2024
1 parent 436c25f commit f323cf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pyprediktormapclient/dwh/dwh.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def version(self) -> Dict:
Private
"""


def __initialize_context_services(self) -> None:
"""
Initialise all services defined in `context` folder. These are methods
Expand All @@ -101,4 +100,4 @@ def __initialize_context_services(self) -> None:
setattr(self, service_name, attribute(self))

def _is_attr_valid_service_class(self, attribute) -> bool:
return isinstance(attribute, type) and issubclass(attribute, IDWH) and attribute is not IDWH
return isinstance(attribute, type) and attribute is not IDWH

0 comments on commit f323cf8

Please sign in to comment.