diff options
author | Philipp Hahn <hahn@univention.de> | 2018-11-20 08:59:35 +0100 |
---|---|---|
committer | Daniel Berrange <berrange@redhat.com> | 2020-08-18 09:48:25 +0000 |
commit | abbd47f4ea1736a2d9eaf50b157cdfcd69dfffb9 (patch) | |
tree | 79d8db608e01b83bc9f4fbb7ceba389e2301d5dc /libvirt-override-virDomainCheckpoint.py | |
parent | 67af8b910b62de6542e15d68c8dd5a275cf77f55 (diff) | |
download | libvirt-python-abbd47f4ea1736a2d9eaf50b157cdfcd69dfffb9.tar.gz |
override: Add manual PEP 484 type annotations
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirt-override-virDomainCheckpoint.py')
-rw-r--r-- | libvirt-override-virDomainCheckpoint.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvirt-override-virDomainCheckpoint.py b/libvirt-override-virDomainCheckpoint.py index d4ccd88..8b9d212 100644 --- a/libvirt-override-virDomainCheckpoint.py +++ b/libvirt-override-virDomainCheckpoint.py @@ -1,12 +1,12 @@ - def getConnect(self): + def getConnect(self) -> 'virConnect': """Get the connection that owns the domain that a checkpoint was created for""" return self.connect() - def getDomain(self): + def getDomain(self) -> 'virDomain': """Get the domain that a checkpoint was created for""" return self.domain() - def listAllChildren(self, flags=0): + def listAllChildren(self, flags: int = 0) -> List['virDomainCheckpoint']: """List all child checkpoints and returns a list of checkpoint objects""" ret = libvirtmod.virDomainCheckpointListAllChildren(self._o, flags) if ret is None: |