Пример #1
0
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
Пример #2
0
 def get_all(cls, context):
     return ExtensionList(sql.model_query(context, Extension))
Пример #3
0
 def get_all(cls, context):
     return SensorList(sql.model_query(context, Sensor))
Пример #4
0
 def get_all(cls, context):
     return PipelineList(sql.model_query(context, Pipeline))
Пример #5
0
 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'))
Пример #6
0
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
Пример #7
0
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
Пример #8
0
 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)
Пример #9
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
Пример #10
0
 def get_all(cls, context):
     return InfrastructureStackList(sql.model_query(context,
                                                    InfrastructureStack))
Пример #11
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
Пример #12
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
Пример #13
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
Пример #14
0
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
Пример #15
0
 def get_all(cls, context):
     return InfrastructureStackList(
         sql.model_query(context, InfrastructureStack))
Пример #16
0
 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'))
Пример #17
0
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
Пример #18
0
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
Пример #19
0
 def get_all(cls, context):
     return ImageList(sql.model_query(context, Image))
Пример #20
0
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
Пример #21
0
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
Пример #22
0
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
Пример #23
0
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
Пример #24
0
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
Пример #25
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
Пример #26
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
Пример #27
0
 def get_all(cls, context):
     mq = sql.model_query(context, Assembly).order_by(
         'updated_at desc', 'created_at desc')
     return AssemblyList(mq)
Пример #28
0
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
Пример #29
0
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
Пример #30
0
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
Пример #31
0
 def get_all(cls, context):
     return ParameterList(sql.model_query(context, Parameter))