We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ee1a8 commit 6a96dbaCopy full SHA for 6a96dba
sqlmodel/main.py
@@ -93,8 +93,8 @@
93
IncEx: TypeAlias = Union[
94
Set[int],
95
Set[str],
96
- Mapping[int, Union["IncEx", Literal[True]]],
97
- Mapping[str, Union["IncEx", Literal[True]]],
+ Mapping[int, Union["IncEx", bool]],
+ Mapping[str, Union["IncEx", bool]],
98
]
99
OnDeleteType = Literal["CASCADE", "SET NULL", "RESTRICT"]
100
@@ -479,7 +479,6 @@ def Relationship(
479
class SQLModelMetaclass(ModelMetaclass, DeclarativeMeta):
480
__sqlmodel_relationships__: Dict[str, RelationshipInfo]
481
model_config: SQLModelConfig
482
- model_fields: Dict[str, FieldInfo]
483
__config__: Type[SQLModelConfig]
484
__fields__: Dict[str, ModelField] # type: ignore[assignment]
485
0 commit comments