-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Error While Structuring Final Sequences #412
Comments
You're right, can confirm. I'll put this into the next release milestone so it gets looked at before the release. Thanks! |
Awesome, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
Description
Hi, first of all I want to thank you for adding the support for structuring and destructuring of
Final
attributes incattrs
23. I've been using it throughout my codebase ever since and it's proven very useful. Unfortunately, I might have run into a bug of this new feature. In particular,cattrs
fails when attempting to structureFinal
sequences.Example
The following minimal example
results in the error
The same issue happens also if a
tuple
or a genericSequence
are used instead of alist
. Moreover, if theFinal
from the definition ofFoo
is removed, then the json string is structured correctly and without errors.The text was updated successfully, but these errors were encountered: