🔧 chore(base.py): comment out unused json_loads and json_dumps arguments in model_config to improve code readability and remove warnings
This commit is contained in:
parent
91d21a1214
commit
afee7508e0
1 changed files with 3 additions and 1 deletions
|
|
@ -23,5 +23,7 @@ class SQLModelSerializable(SQLModel):
|
|||
# TODO[pydantic]: The following keys were removed: `json_loads`, `json_dumps`.
|
||||
# Check https://docs.pydantic.dev/dev-v2/migration/#changes-to-config for more information.
|
||||
model_config = ConfigDict(
|
||||
from_attributes=True, json_loads=orjson.loads, json_dumps=orjson_dumps
|
||||
from_attributes=True,
|
||||
# json_loads=orjson.loads,
|
||||
# json_dumps=orjson_dumps
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue