Skip to content

Pydantic 2.0 Migration #236

@Kircheneer

Description

@Kircheneer

As part of the pydantic 2.0 release, a suite of breaking changes were released. We need to investigate where this breaks diffsync.

Issues already identified

  • extra="allow" is no longer possible
  • The __fields__ attribute is deprecated, furthermore it and its replacement model_fields no longer work with __init_subclass__ for us, because their fields are not populated until after this hook runs (see here for the accompanying discussion)

For more see here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions