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
However, runing mypy on the code will give something like:
message.py:104: error: "ObjectifiedElement" has no attribute "MsgType"
I think the type hinting of ObjectifiedElement shall allow arbitrary attribute, but it does not seem to work as I expected. How to make the error go away?
The text was updated successfully, but these errors were encountered:
Hi,
I am using objectify.fromstring to turn xml into python object, like this:
However, runing
mypy
on the code will give something like:I think the type hinting of
ObjectifiedElement
shall allow arbitrary attribute, but it does not seem to work as I expected. How to make the error go away?The text was updated successfully, but these errors were encountered: