def list_snapshots(self):
        """
        Returns a list of all snapshots of this volume.
        """
        return [snap for snap in self.manager.list_snapshots()
                if snap.volume_id == self.id]
def list_snapshots ( self ) : return [ snap for snap in self . manager . list_snapshots ( ) if snap . volume_id == self . id ]
Returns a list of all snapshots of this volume.