Skip to content

Conversation

multimeric
Copy link
Contributor

@multimeric multimeric commented Jul 15, 2022

Change Summary

Replaced the custom __dataclass_transform__ decorator with typing_extensions.dataclass_transform, which is the (backwards-compatible version of) the official PEP 681 spec.

Related issue number

fix #4238

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@multimeric
Copy link
Contributor Author

Please review.

@samuelcolvin samuelcolvin enabled auto-merge (squash) August 9, 2022 09:56
@samuelcolvin
Copy link
Member

thanks so much.

@samuelcolvin samuelcolvin merged commit 86b8486 into pydantic:master Aug 9, 2022
Otto-AA added a commit to Otto-AA/pydantic that referenced this pull request May 10, 2025
Since pydantic#4241 Pydantic uses the finalized PEP 681 version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants