You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to serialize a dataclass that has IntFlag fields and use the omit_default option, but it results in a SyntaxError unless the field is declared without a default.
Description
I need to serialize a dataclass that has
IntFlag
fields and use theomit_default
option, but it results in aSyntaxError
unless the field is declared without a default.What I Did
Minimal example:
Result:
The text was updated successfully, but these errors were encountered: