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?
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?