On 24.08.21 10:38, Vladimir Sementsov-Ogievskiy wrote:
mypy thinks that return value of these methods in subclusses is
QEMUMachine, which is wrong. So, make typing smarter.

Suggested-by: John Snow <js...@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
---
  python/qemu/machine/machine.py | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to