Skip to content

Since pydantic 1.10.3 dataclasses with __setattr__ defined cause an exception #4907

@samuelcolvin

Description

@samuelcolvin

Discussed in #4905

Originally posted by KramNamez January 4, 2023
As seen in nabla-c0d3/sslyze#586 SSLyze broke, despite pydantic only doing point releases that should not change its API.

Freezing pydantic at 1.10.2 fixes the issue for now, but I still wanted to ask if this is a bug in pydantic or in SSLyze's usage of pydantic.

In short, there's another edge case to dataclasses related to __setattr__ and probably #4880.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug V1Bug related to Pydantic V1.X

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions