Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
istride committed Mar 6, 2025
1 parent 4c7bb7c commit b1f34d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpft/parsers/common/rowparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def assign_value(self, field, key, value, model):
# Get the list of keys that are available for the target model
# Note: The fields have a well defined ordering.
# See https://pydantic-docs.helpmanual.io/usage/models/#field-ordering
model_fields = list(model.__fields__.keys())
model_fields = list(model.model_fields.keys())

if type(value) is not list:
# It could be that an object is specified via a single element.
Expand Down

0 comments on commit b1f34d2

Please sign in to comment.