l.s.g.UnusedPOTMsgSetPruner(TunableLoop) : class documentation

Part of lp.scripts.garbo View In Hierarchy

Cleans up unused POTMsgSets.
Method isDone See TunableLoop.
Method msgset_ids_to_remove The IDs of the POTMsgSets to remove.
Method __call__ See TunableLoop.
Method _get_msgset_ids_to_remove Return a distrinct list IDs of the POTMsgSets to remove.

Inherited from TunableLoop:

Method __init__ Undocumented
Method run Undocumented
def isDone(self):
See TunableLoop.
@cachedproperty
def msgset_ids_to_remove(self):
The IDs of the POTMsgSets to remove.
def _get_msgset_ids_to_remove(self, ids=None):
Return a distrinct list IDs of the POTMsgSets to remove.
Parametersidsa list of POTMsgSet ids to filter. If ids is None, all unused POTMsgSet in the database are returned.
def __call__(self, chunk_size):
See TunableLoop.
API Documentation for Launchpad, generated by pydoctor at 2020-04-01 00:00:17.