def _get_resources_data(): for i in lr_service.get_resources_with_tincanstatements(): yield i
def get_learningregistry_items(self): from application.modules.lr_service import get_resources_with_tincanstatements for i in get_resources_with_tincanstatements(): yield i