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

dataclass_transform: accept **kwargs, rename field_descriptors #1120

Merged
merged 4 commits into from Apr 16, 2022

Conversation

JelleZijlstra
Copy link
Member

cc @debonte @erictraut. This implements the field_descriptors -> field_specifiers rename that was changed in the PEP yesterday and the **kwargs idea I just shared. Just a draft for now to share what the idea would look like at runtime.

@ambv ambv closed this Apr 15, 2022
@ambv ambv reopened this Apr 15, 2022
@JelleZijlstra JelleZijlstra marked this pull request as ready for review April 16, 2022 17:15
@JelleZijlstra JelleZijlstra merged commit b595c73 into master Apr 16, 2022
@JelleZijlstra JelleZijlstra deleted the JelleZijlstra-patch-1 branch April 16, 2022 17:17
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request Apr 23, 2022
Copied from typing-extensions (python/typing#1054, python/typing#1120).

Documentation is intentionally omitted, so we can focus on getting the
runtime part in before the feature freeze.
JelleZijlstra added a commit to python/cpython that referenced this pull request Apr 26, 2022
Copied from typing-extensions (python/typing#1054, python/typing#1120).

Documentation is intentionally omitted, so we can focus on getting the
runtime part in before the feature freeze.
fthaler added a commit to GridTools/gt4py that referenced this pull request May 17, 2022
Typing-extensions version 4.2 is required for the use of `field_specifiers` in `dataclass_transform` (see python/typing#1120).
havogt pushed a commit to havogt/gt4py that referenced this pull request May 17, 2022
Typing-extensions version 4.2 is required for the use of `field_specifiers` in `dataclass_transform` (see python/typing#1120).
havogt pushed a commit to havogt/gt4py that referenced this pull request May 17, 2022
Typing-extensions version 4.2 is required for the use of `field_specifiers` in `dataclass_transform` (see python/typing#1120).
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.

None yet

4 participants