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