vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 2 forks source link

Investigate Pydantic deprecation warning #166

Closed import-pandas-as-numpy closed 2 months ago

import-pandas-as-numpy commented 11 months ago
dragonfly-mainframe-mainframe-1  | =============================== warnings summary ===============================
dragonfly-mainframe-mainframe-1  | __pypackages__/3.11/lib/pydantic/_internal/_config.py:219
dragonfly-mainframe-mainframe-1  |   /app/__pypackages__/3.11/lib/pydantic/_internal/_config.py:219: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict 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/
dragonfly-mainframe-mainframe-1  |     warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
dragonfly-mainframe-mainframe-1  | 
dragonfly-mainframe-mainframe-1  | -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Seems like we're using class-based configs somewhere. We should probably get to the bottom of where this error is being emitted from and how we can fix it.