Sitelet https://github.com/python/steering-council/issues/117
Skip to content

Submission for SC consideration: PEP 681 -- Data Class Transforms #117

Description

@debonte

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:

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.

CC: @JelleZijlstra @erictraut

https://www.python.org/dev/peps/pep-0681/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions