-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Please consider PEP 681 for inclusion in Python 3.11.
This is a typing PEP that provides a way to describe the behavior of dataclass-like libraries to static type checkers.
The PEP has been discussed at length in several typing-sig threads:
- The primary PEP discussion thread: Dataclass Transform draft PEP
- Early pre-PEP discussions:
- Threads on specific aspects of the design:
We also posted an RFC notification on discuss.python.org pointing to the canonical thread on typing-sig.
There is a reference implementation of the type checking part in Pyright, and an implementation of the dataclass_transform
decorator in typing_extensions.py
.
JelleZijlstra
Metadata
Metadata
Assignees
Labels
No labels