Skip to content

Commit

Permalink
Merge pull request #59 from PrediktorAS/1347-maf-service-support-new-…
Browse files Browse the repository at this point in the history
…format-on-solcast-api-fix

1347 maf service support new format on solcast api fix
  • Loading branch information
pavel-tashev authored May 10, 2024
2 parents 1692135 + f323cf8 commit ea6c28e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ install_requires =
pydantic >= 2.0
pandas >= 1.4.4
pyodbc
pyPrediktorUtilities >= 0.3.2
pyPrediktorUtilities >= 0.4.1

[options.packages.find]
where = src
Expand All @@ -71,7 +71,7 @@ testing =
setuptools
pytest
pytest-cov
pyPrediktorUtilities >= 0.3.2
pyPrediktorUtilities >= 0.4.1
pyodbc

[options.entry_points]
Expand Down
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 ea6c28e

Please sign in to comment.