Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call __post_init__ when converting struct from object #752

Merged
merged 1 commit into from
Oct 20, 2024

Commits on Oct 20, 2024

  1. Call __post_init__ when converting struct from object

    Previously a struct's `__post_init__` method wouldn't be called when
    converting from a custom mapping or object with `from_attributes=True`.
    This PR fixes that and expands the tests to cover this case.
    jcrist committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    5e714e5 View commit details
    Browse the repository at this point in the history