Skip to content

Conversation

@frankie567
Copy link

Tagflow is generating a warning because the Session Pydantic model is using a class-based config, which is now deprecated

.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:295
  /Users/fvoron/Development/tagflow/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:295: 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.10/migration/
    warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

This PR simply updates it to the new syntax, which removes the warning.

@frankie567 frankie567 force-pushed the fix-pydantic-depreciation-warning branch from 5152ac9 to 529a8bb Compare August 14, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant