Ejemplo n.º 1
0
 def files_uploads_v1(self, request):
     return api.files_uploads(
         include_running=bool(
             _request_arg(request, 'include_running', '1') in [
                 '1',
                 'true',
             ]),
         include_pending=bool(
             _request_arg(request, 'include_pending', '1') in [
                 '1',
                 'true',
             ]),
     )
Ejemplo n.º 2
0
 def jsonrpc_files_uploads(self,
                           include_running=True,
                           include_pending=True):
     return api.files_uploads(include_running=include_running,
                              include_pending=include_pending)