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

from_... class methods now return typing_extensions.Self #840

Merged
merged 5 commits into from
May 11, 2024

Conversation

janosh
Copy link
Member

@janosh janosh commented May 11, 2024

@janosh janosh added types Type all the things linting Linting labels May 11, 2024
@janosh janosh merged commit df7c769 into main May 11, 2024
6 checks passed
@janosh janosh deleted the from-methods-ret-self branch May 11, 2024 21:23
esoteric-ephemera pushed a commit to esoteric-ephemera/atomate2 that referenced this pull request May 13, 2024
…lsproject#840)

* more clean up of schemas/test_lobster.py

* from_... class methods return typing_extensions.Self

* fix NameError: name 'Self' is not defined in schema files

* missed one NameError: name 'Self' is not defined

* start doc strings on 1st line
esoteric-ephemera pushed a commit to esoteric-ephemera/atomate2 that referenced this pull request May 13, 2024
…lsproject#840)

* more clean up of schemas/test_lobster.py

* from_... class methods return typing_extensions.Self

* fix NameError: name 'Self' is not defined in schema files

* missed one NameError: name 'Self' is not defined

* start doc strings on 1st line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting Linting types Type all the things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant