From abbd47f4ea1736a2d9eaf50b157cdfcd69dfffb9 Mon Sep 17 00:00:00 2001 From: Philipp Hahn Date: Tue, 20 Nov 2018 08:59:35 +0100 Subject: override: Add manual PEP 484 type annotations Signed-off-by: Philipp Hahn --- libvirt-override-virDomainCheckpoint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libvirt-override-virDomainCheckpoint.py') 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: -- cgit v1.2.1