def getTransMemories(self, project_id): return [ models.TranslationMemory(translation_memory) for translation_memory in self._post('project/getTransMemories', { 'project': project_id }) ]
def list(self, page: int = 0) -> List[models.TranslationMemory]: """List translation memories. :page: index of pager. :return: List of translation memory. """ return [ models.TranslationMemory(translation_memory) for translation_memory in self._post('transMemory/list', {'page': page}) ]
def list(self, page=0): return [ models.TranslationMemory(translation_memory) for translation_memory in self._post('transMemory/list', {'page': page}) ]