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
Traceback (most recent call last):
File "/home/dave/.pyenv/versions/ng/lib/python3.10/site-packages/serde/de.py", line 398, in from_obj
return deserializable_to_obj(c)
File "/home/dave/.pyenv/versions/ng/lib/python3.10/site-packages/serde/de.py", line 380, in deserializable_to_obj
res = serde_scope.funcs[func_name](cls, maybe_generic=maybe_generic, data=o, reuse_instances=reuse_instances)
File "<string>", line 11, in from_dict
File "<string>", line 11, in <listcomp>
AttributeError: 'int' object has no attribute 'get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dave/ng/pyserde_list_float_bug.py", line 9, in <module>
from_json(Foo, foo)
File "/home/dave/.pyenv/versions/ng/lib/python3.10/site-packages/serde/json.py", line 77, in from_json
return from_dict(c, de.deserialize(s, **opts), reuse_instances=False)
File "/home/dave/.pyenv/versions/ng/lib/python3.10/site-packages/serde/de.py", line 486, in from_dict
return from_obj(cls, o, named=True, reuse_instances=reuse_instances)
File "/home/dave/.pyenv/versions/ng/lib/python3.10/site-packages/serde/de.py", line 463, in from_obj
raise SerdeError(e)
serde.compat.SerdeError: 'int' object has no attribute 'get'
The text was updated successfully, but these errors were encountered:
I'll need to implement a workaround soon as I have to ship something, but I'd rather make a PR here if you can point me in the right direction and we can get merged in next week or so 😁
Seen on
0.9.7
but then updated and still present on0.10.2
(#315 is amazing BTW 👏🏻 👏🏻 👏🏻 ):The text was updated successfully, but these errors were encountered: