-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Nested class serialization breaks with future annotations import #62
Comments
Hi @sizmailov I see this can't be reproduced on 3.10. But on the previous versions it could be fixed by adding |
I confirm, bug affects 3.8, 3.9, but not 3.10. |
Fixed in 2.10. |
Just tried new release. Looks like the initial snippet still fails with mashumaro==2.10 with python 3.8 and 3.9... Traceback
|
Oops, I forgot to merge the branch. You can check the version 2.10.1 :) |
Minimal code to reproduce:
Traceback [python==3.9.5 / mashumaro==2.9.1]:
Code runs fine without
from __future__ import annotations
line.Note: with
DataClassYAMLMixin
you get a rather cryptic error message:The text was updated successfully, but these errors were encountered: