-
Notifications
You must be signed in to change notification settings - Fork 122
Description
/home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1979: PydanticDeprecatedSince20: The parse_rawmethod is deprecated; if your data is JSON usemodel_validate_json, otherwise load the data then use model_validateinstead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ return cls.parse_raw(document) /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/pydantic/main.py:1396: PydanticDeprecatedSince20:load_str_bytesis deprecated. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ obj = parse.load_str_bytes( /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1532: PydanticDeprecatedSince20: Thefieldsattribute is deprecated, use themodel_fieldsclass property instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ for name, field in cls.__fields__.items(): /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1551: PydanticDeprecatedSince20: Thefieldsattribute is deprecated, use themodel_fieldsclass property instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ cls.__fields__.pop("pk") /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1465: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. missing_fields = __pydantic_self__.model_fields.keys() - data.keys() - {"pk"} /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/psycopg_pool/pool_async.py:163: RuntimeWarning: opening the async pool AsyncConnectionPool in the constructor is deprecated and will not be supported anymore in a future release. Please useawait pool.open(), or use the pool as context manager using: async with AsyncConnectionPool(...) as pool: ... warnings.warn( /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1532: PydanticDeprecatedSince20: The fieldsattribute is deprecated, use themodel_fieldsclass property instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ for name, field in cls.__fields__.items(): /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1465: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. missing_fields = __pydantic_self__.model_fields.keys() - data.keys() - {"pk"} /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1979: PydanticDeprecatedSince20: Theparse_rawmethod is deprecated; if your data is JSON usemodel_validate_json, otherwise load the data then use model_validateinstead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ return cls.parse_raw(document) /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/pydantic/main.py:1396: PydanticDeprecatedSince20:load_str_bytesis deprecated. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ obj = parse.load_str_bytes( /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1532: PydanticDeprecatedSince20: Thefieldsattribute is deprecated, use themodel_fields class property instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ for name, field in cls.__fields__.items(): /home/alon/Development/NewTeam/agent/.venv/lib/python3.12/site-packages/aredis_om/model/model.py:1465: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. missing_fields = __pydantic_self__.model_fields.keys() - data.keys() - {"pk"}
alot of function raise a deprecation warning from pydantic, that will fails on pydantic 3.0
is there any plan of fixing it?