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 0251f0f commit a52380bCopy full SHA for a52380b
1 file changed
sqlmodel/main.py
@@ -773,7 +773,7 @@ def get_column_from_field(field: Any) -> Column: # type: ignore
773
assert isinstance(foreign_key, str)
774
assert isinstance(ondelete_value, (str, type(None))) # for typing
775
args.append(ForeignKey(foreign_key, ondelete=ondelete_value))
776
- kwargs = {
+ kwargs: dict[str, Any] = {
777
"primary_key": primary_key,
778
"nullable": nullable,
779
"index": index,
0 commit comments