Skip to content

Commit 7a4f93e

Browse files
committed
Replace Deprecated
1 parent 4ac41c5 commit 7a4f93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppython/core/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def dynamic_data(cls, model: 'PEP621Configuration') -> 'PEP621Configuration':
9191
Returns:
9292
The data
9393
"""
94-
for field in model.model_fields:
94+
for field in PEP621Configuration.model_fields:
9595
if field == 'dynamic':
9696
continue
9797
value = getattr(model, field)

0 commit comments

Comments
 (0)