Find deprecated json_encoders config option
ProprietaryPydantic deprecated the json_encoders option in ConfigDict. Its replacements (@field_serializer / @model_serializer or Annotated[..., PlainSerializer(...)]) require restructuring, so this recipe flags its use for review.
org. openrewrite. python. migrate. pydantic. FindDeprecatedJsonEncodersmod run . --recipe= org. openrewrite. python. migrate. pydantic. FindDeprecatedJsonEncodersInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.