Like many other Optional[] types, it's not always a given that this object will be set. Wrap it in a type-shim that raises a meaningful error and will always return a concrete type. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20201006235817.3280413-8-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com> |
||
---|---|---|
.. | ||
.flake8 | ||
.isort.cfg | ||
__init__.py | ||
accel.py | ||
console_socket.py | ||
machine.py | ||
pylintrc | ||
qmp.py | ||
qtest.py |