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

fixing mutable dataclass attribute error by using default_factory #154

Closed
wants to merge 1 commit into from
Closed

fixing mutable dataclass attribute error by using default_factory #154

wants to merge 1 commit into from

Conversation

phillies
Copy link
Contributor

Fix for #153 where due to changes in python 3.11 (https://docs.python.org/3/whatsnew/3.11.html#dataclasses) mutable fields are no longer allowed and need the default_factory argument.

@enzet
Copy link
Owner

enzet commented Jul 6, 2023

Hello, @phillies! Thank you, this was really a shameful mistake.

I hope you don't mind very much that I have merged the commit manually and changed commit message to match the style.

I'm closing the request, but the commit is in the repository already.

@enzet enzet closed this Jul 6, 2023
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