```py from lxml.etree import XML assert XML(b"<a foo='bar'></a>").attrib == {'foo': 'bar'} ``` mypy complains about this code, even though it works at runtime: ``` Non-overlapping equality check (left operand type: "_Attrib", right operand type: "dict[str, str]") ```