Find deprecated schema_generator config option
Recipe ID
org.openrewrite.python.migrate.pydantic.FindDeprecatedSchemaGeneratorArtifactopenrewrite-migrate-pythonPydantic 2.10 deprecated the schema_generator option in ConfigDict. It has no public replacement yet, so this recipe flags its use for review.
Single recipepythonpydanticmigration2.10Proprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.python.migrate.pydantic.FindDeprecatedSchemaGeneratorIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python