Skip to content

Commit

Permalink
#59 Restore missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Xowap committed Jul 10, 2023
1 parent 92caecd commit dd62f43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/typefit/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def serialize_dataclass(self, obj: Any):

def _get_values():
for field in fields(obj.__class__):
source: Source

match (field.metadata):
case {"typefit_source": source}:
yield {
Expand Down

0 comments on commit dd62f43

Please sign in to comment.