def get_all(cls, context): return OperationList(sql.model_query(context, Operation))
def get_all(cls, context): return ExtensionList(sql.model_query(context, Extension))
def get_all(cls, context): return SensorList(sql.model_query(context, Sensor))
def get_all(cls, context): return PipelineList(sql.model_query(context, Pipeline))
def get_all_languagepacks(cls, context): """Return all images that are languagepacks.""" return ImageList( sql.model_query(context, Image).filter_by(artifact_type='language_pack'))
def get_all(cls, context): return PlanList(sql.model_query(context, Plan))
def get_all(cls, context): return UserlogList(sql.model_query(context, Userlog))
def get_all(cls, context, app_id=None): wfs = sql.model_query(context, Workflow) if app_id is not None: wfs = wfs.filter_by(app_id=app_id) return WorkflowList(wfs)
def get_all(cls, context): list_obj = ApplicationList() list_obj.objects = list(sql.model_query(context, Application)) return list_obj
def get_all(cls, context): return InfrastructureStackList(sql.model_query(context, InfrastructureStack))
def get_all(cls, context): list_obj = ApplicationList() list_obj.objects = list(sql.model_query(context, Application)) return list_obj
def get_all(cls, context): return LanguagePackList(sql.model_query(context, LanguagePack))
def get_all(cls, context): return LanguagePackList(sql.model_query(context, LanguagePack))
def get_all(cls, context): return OperationList(sql.model_query(context, Operation))
def get_all(cls, context): return InfrastructureStackList( sql.model_query(context, InfrastructureStack))
def get_all_languagepacks(cls, context): """Return all images that are languagepacks.""" return ImageList(sql.model_query( context, Image).filter_by(artifact_type='language_pack'))
def get_all(cls, context): return AssemblyList(sql.model_query(context, Assembly))
def get_all(cls, context): """Return all images.""" return ImageList(sql.model_query(context, Image))
def get_all(cls, context): return ImageList(sql.model_query(context, Image))
def get_all(cls, context): return PlanList(sql.model_query(context, Plan))
def get_all(cls, context): return AppList(sql.model_query(context, App))
def get_all(cls, context): return ServiceList(sql.model_query(context, Service))
def get_all(cls, context): return AssemblyList(sql.model_query(context, Assembly))
def get_all(cls, context): return AppList(sql.model_query(context, App))
def get_all(cls, context): return ComponentList(sql.model_query(context, Component))
def get_all(cls, context): return ComponentList(sql.model_query(context, Component))
def get_all(cls, context): mq = sql.model_query(context, Assembly).order_by( 'updated_at desc', 'created_at desc') return AssemblyList(mq)
def get_all(cls, context): return UserlogList(sql.model_query(context, Userlog))
def get_all(cls, context): """Return all images.""" return ImageList(sql.model_query(context, Image))
def get_all(cls, context): return ServiceList(sql.model_query(context, Service))
def get_all(cls, context): return ParameterList(sql.model_query(context, Parameter))