Skip to content

Commit

Permalink
fix: use positional argument for create_model
Browse files Browse the repository at this point in the history
  • Loading branch information
djs0109 committed Feb 18, 2025
1 parent 94fe495 commit 9d52673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filip/utils/model_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def create_context_entity_model(
if key not in ContextEntity.model_fields
}
model = create_model(
__model_name=name or "GeneratedContextEntity",
name or "GeneratedContextEntity",
__base__=ContextEntity,
__validators__=validators or {},
**properties,
Expand Down

0 comments on commit 9d52673

Please sign in to comment.