l.t.s.m.TranslationMessageImportedFlagUpdater : class documentation

Part of lp.translations.scripts.migrate_current_flag View In Hierarchy

Populates is_imported flag from is_current flag on translations.
Method __init__ Undocumented
Method isDone See ITunableLoop.
Method getNextBatch Return a batch of objects to work with.
Method __call__ See ITunableLoop.
Method _updateTranslationMessages Undocumented
def __init__(self, transaction, logger, tm_ids):
Undocumented
def isDone(self):
See ITunableLoop.
def getNextBatch(self, chunk_size):
Return a batch of objects to work with.
def _updateTranslationMessages(self, tm_ids):
Undocumented
def __call__(self, chunk_size):
See ITunableLoop.

Retrieve a batch of TranslationMessages in ascending id order, and set is_imported flag to True on all of them.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.