Skip to content

Commit

Permalink
Explain why to keep empty ConfigClass init
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreWohnsland committed Sep 8, 2024
1 parent 4244ab7 commit 0f9316d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/config_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def to_config(self, value: Any) -> Any:


class ConfigClass:
# keep method to show that child implementation have at least one attribute for initialization
def __init__(self, **kwargs) -> None:
pass

Expand Down

0 comments on commit 0f9316d

Please sign in to comment.