We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7173b44 commit 84d739eCopy full SHA for 84d739e
sqlmodel/_compat.py
@@ -70,7 +70,7 @@ def set_polymorphic_default_value(
70
self_instance: _TSQLModel,
71
values: Dict[str, Any],
72
) -> bool:
73
- """By defalut, when init a model, pydantic will set the polymorphic_on
+ """By default, when init a model, pydantic will set the polymorphic_on
74
value to field default value. But when inherit a model, the polymorphic_on
75
should be set to polymorphic_identity value by default."""
76
cls = type(self_instance)
0 commit comments