Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Resolve Pydantic deprecation warnings #1403

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emmanuel-ferdman
Copy link

PR Summary

This small PR resolves the Pydantic deprecation warnings:

/home/runner/work/codegate/codegate/src/codegate/types/anthropic/_generators.py:59: PydanticDeprecatedSince20: The `json` method is deprecated; use `model_dump_json` 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/

@emmanuel-ferdman
Copy link
Author

@jhrozek looks like CI is not stable and fails not due to changes in this PR. could you please take a look? thanks 🙌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants