Skip to content

Commit a52380b

Browse files
committed
add type annotation to kwargs dict
1 parent 0251f0f commit a52380b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmodel/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ def get_column_from_field(field: Any) -> Column: # type: ignore
773773
assert isinstance(foreign_key, str)
774774
assert isinstance(ondelete_value, (str, type(None))) # for typing
775775
args.append(ForeignKey(foreign_key, ondelete=ondelete_value))
776-
kwargs = {
776+
kwargs: dict[str, Any] = {
777777
"primary_key": primary_key,
778778
"nullable": nullable,
779779
"index": index,

0 commit comments

Comments
 (0)