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

Document how to handle class variables/constants in typed syntax #1352

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

geofft
Copy link
Contributor

@geofft geofft commented Sep 23, 2024

This is mentioned very briefly in the API docs for auto_attrib but it's not easy to find if you don't already know about typing.ClassVar.

geofft and others added 3 commits September 22, 2024 21:13
This is mentioned very briefly in the API docs for `auto_attrib` but
it's not easy to find if you don't already know about `typing.ClassVar`.
Copy link
Member

@hynek hynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!!

@hynek hynek added this pull request to the merge queue Sep 23, 2024
Merged via the queue into python-attrs:main with commit 2afd663 Sep 23, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants