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 might be misunderstanding the intended use but when I trial to serialise a dataclass containing an InitVar (e.g. as in the example below) I get this exception:
This behaviour is very well explained this stackoverflow post. For now, please use this workaround. I will try to see if we can have this workaround inside pyserde.
I might be misunderstanding the intended use but when I trial to serialise a
dataclass
containing anInitVar
(e.g. as in the example below) I get this exception:rather than output like:
{"a":1,"b":{"x":"one", "z":"three"},"c":"end"}
with
python 3.10.2
andpyserde==0.12.2
The text was updated successfully, but these errors were encountered: