Skip to content

Commit

Permalink
Add correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
timsavage committed Oct 10, 2024
1 parent 190c8bc commit d0252cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyapp/conf/loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
from pyapp.typed_settings import SettingsDefType


def settings_iterator(obj):
def settings_iterator(obj: object):
"""Iterate settings from an object"""

for key in dir(obj):
value = getattr(obj, key)
if isinstance(value, SettingsDefType):
Expand Down

0 comments on commit d0252cd

Please sign in to comment.