8000 Add __post_init__ to BaseModel/non-dataclasses · Issue #1729 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content
Add __post_init__ to BaseModel/non-dataclasses #1729
@jessekrubin

Description

@jessekrubin

It would be very nice if there were some sort of post_init for the pydantic.BaseModel.

Probably wouldn't be too much work to add either (but IDK).

I can fork and pr the changes, but I would like to hear @samuelcolvin's/others thoughts before doing so

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0