You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after migrating to pydantic v2 I have notice a lot of warnings popping up.
pydantic.warnings.PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2
Migration Guide at https://errors.pydantic.dev/2.1.1/migration/
This is because of the dispatch fastapi_events/dispatcher.py:119: in dispatch payload = payload_schema_cls(**(payload or {})).dict(**payload_schema_cls_dict_args)
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting this, we'll have some time before this becomes an issue. I'll look into this perhaps in a week or so. Meanwhile, feel free to take a look at this if you're interested. :)
Hi, after migrating to pydantic v2 I have notice a lot of warnings popping up.
This is because of the dispatch
fastapi_events/dispatcher.py:119: in dispatch
payload = payload_schema_cls(**(payload or {})).dict(**payload_schema_cls_dict_args)
The text was updated successfully, but these errors were encountered: