Skip to content

Commit

Permalink
update iter of datamodel
Browse files Browse the repository at this point in the history
  • Loading branch information
frehburg committed Oct 17, 2024
1 parent 8d53a77 commit 00551d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phenopacket_mapper/data_standards/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def __str__(self):
return ret

def __iter__(self):
return iter(self.fields)
return iter(recursive_collect_all_members_data_model(self))

@property
def is_hierarchical(self) -> bool:
Expand Down

0 comments on commit 00551d7

Please sign in to comment.