Skip to content

Commit

Permalink
Remove (hopefully) unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
led02 committed Feb 9, 2024
1 parent 28c154f commit 493c023
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/hermes/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ def settings_customise_sources(
file_secret_settings,
)

def __call__(self) -> Dict[str, Any]:
d: Dict[str, Any] = {}
for field_name, field in self.settings_cls.model_fields.items():
field_value, field_key, value_is_complex = self.get_field_value(field, field_name)
field_value = self.prepare_field_value(field_name, field, field_value, value_is_complex)
if field_value is not None:
d[field_key] = field_value

return d

def __getattr__(self, item, *args):
self.__pydantic_extra__ = {item: {}}

Expand Down

0 comments on commit 493c023

Please sign in to comment.