Description
I encountered a deprecation warning when running climsight. The warning message suggests using the model_dump method instead. This warning occurs in the following context:
/home/anjost001/.local/lib/python3.10/site-packages/pydantic/main.py:1070: 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.7/migration/
warnings.warn('The `dict` method is deprecated; use `model_dump` instead.', category=PydanticDeprecatedSince20)
Steps to Reproduce
- Activate the environment
- Run ClimSight
Expected Behavior
No deprecation warning should appear when using the dict method.
Actual Behavior
A deprecation warning appears, indicating that the dict method is deprecated and suggesting the use of model_dump instead.
Environment
- Python version: 3.10.14
- Pydantic version: 2.8.2
- Operating System: Ubuntu 22.04.4 LTS
Description
I encountered a deprecation warning when running climsight. The warning message suggests using the
model_dumpmethod instead. This warning occurs in the following context:Steps to Reproduce
Expected Behavior
No deprecation warning should appear when using the
dictmethod.Actual Behavior
A deprecation warning appears, indicating that the
dictmethod is deprecated and suggesting the use ofmodel_dumpinstead.Environment