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

Remove use of slots in dataclasses #44

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

samdoran
Copy link
Contributor

@samdoran samdoran commented Nov 20, 2024

Support for slots in dataclasses was added in 3.10. The workaround we had was confusing the type checker (it's probably the type checker being dumb, but we can get by without using slots to simply things).

@samdoran samdoran mentioned this pull request Nov 20, 2024
Support for slots in dataclasses was added in 3.10. The workaround we had
wasn’t working correctly with the type checker.
@major major force-pushed the remove-dataclass-wrapper branch from fa0d944 to 0865b4e Compare November 20, 2024 21:01
Copy link
Member

@major major left a comment

Choose a reason for hiding this comment

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

LGTM

@samdoran samdoran merged commit 71439ed into rhel-lightspeed:main Nov 20, 2024
10 checks passed
@samdoran samdoran deleted the remove-dataclass-wrapper branch November 20, 2024 21:07
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