Skip to content

Commit 8314d1d

Browse files
🎨 Update Deprecation Notice
Co-authored-by: Motov Yurii <[email protected]>
1 parent fb63890 commit 8314d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmodel/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def Field(
446446
if schema_extra and (json_schema_extra or pydantic_kwargs):
447447
raise RuntimeError(
448448
"Passing schema_extra is not supported when "
449-
"also passing a json_schema_extra"
449+
"also passing a json_schema_extra or pydantic_kwargs"
450450
)
451451

452452
current_pydantic_kwargs = pydantic_kwargs or {}

0 commit comments

Comments
 (0)