We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To simplify migration to py310 it's recommended to do:
if sys.version_info >= (3, 10): # or (3, 11) if weakref_slot=True needed from dataclasses import dataclass else: from dataslots import dataclass
Unfortunately, dataslots.dataclass does not support slots=False, so it's not possible to use this import in files, where both options are defined.
dataslots.dataclass
slots=False
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To simplify migration to py310 it's recommended to do:
Unfortunately,
dataslots.dataclass
does not supportslots=False
, so it's not possible to use this import in files, where both options are defined.The text was updated successfully, but these errors were encountered: