Ejemplo n.º 1
0
 class Meta:
     queryset = CeleryTask.objects.all()
     authorization = GCloudReadOnlyAuthorization()
     resource_name = 'celery_task'
     always_return_data = True
     serializer = AppSerializer()
     filtering = {
         'enabled': ALL,
     }
     limit = 0
Ejemplo n.º 2
0
 class Meta:
     queryset = PipelinePeriodicTask.objects.all()
     authorization = GCloudReadOnlyAuthorization()
     resource_name = 'pipeline_periodic_task'
     always_return_data = True
     serializer = AppSerializer()
     filtering = {
         'name': ALL,
         'creator': ALL,
         'celery_task': ALL_WITH_RELATIONS,
     }
     limit = 0
Ejemplo n.º 3
0
 class Meta(TaskTemplateResource.Meta):
     resource_name = 'weixin_template'
     authorization = GCloudReadOnlyAuthorization()
Ejemplo n.º 4
0
 class Meta(BusinessResource.Meta):
     resource_name = 'weixin_business'
     authorization = GCloudReadOnlyAuthorization()
Ejemplo n.º 5
0
 class Meta(TaskTemplateResource.Meta):
     authorization = GCloudReadOnlyAuthorization()
Ejemplo n.º 6
0
 class Meta(BusinessResource.Meta):
     authorization = GCloudReadOnlyAuthorization()