@@ -422,16 +422,14 @@ def input_file(self, request, pk=None, version=None):
422
422
"""
423
423
return handle_related_file (self .get_object (), 'input_file' , request , ['application/x-gzip' , 'application/gzip' , 'application/x-tar' , 'application/tar' ])
424
424
425
-
426
- @swagger_auto_schema (methods = ['get' ], responses = {200 : FILE_LIST_RESPONSE })
425
+ @swagger_auto_schema (methods = ["get" ], responses = {200 : FILE_LIST_RESPONSE })
427
426
@action (methods = ['get' ], detail = True )
428
427
def input_file_tar_list (self , request , pk = None , version = None ):
429
428
"""
430
429
get:
431
430
List the files in `input_file`.
432
431
"""
433
- return handle_get_related_file_tar (self .get_object (), 'input_file' , request , ['application/x-gzip' , 'application/gzip' , 'application/x-tar' , 'application/tar' ])
434
-
432
+ return handle_get_related_file_tar (self .get_object (), "input_file" , request , ["application/x-gzip" , "application/gzip" , "application/x-tar" , "application/tar" ])
435
433
436
434
@swagger_auto_schema (methods = ['get' ], responses = {200 : FILE_RESPONSE }, manual_parameters = [FILENAME_PARAM ])
437
435
@action (methods = ['get' ], detail = True )
@@ -442,8 +440,7 @@ def input_file_tar_extract(self, request, pk=None, version=None):
442
440
"""
443
441
return handle_get_related_file_tar (self .get_object (), 'input_file' , request , ['application/x-gzip' , 'application/gzip' , 'application/x-tar' , 'application/tar' ])
444
442
445
-
446
- @swagger_auto_schema (methods = ['get' ], responses = {200 : FILE_RESPONSE })
443
+ @swagger_auto_schema (methods = ["get" ], responses = {200 : FILE_RESPONSE })
447
444
@action (methods = ['get' ], detail = True )
448
445
def lookup_errors_file (self , request , pk = None , version = None ):
449
446
"""
@@ -534,7 +531,7 @@ def output_file_tar_list(self, request, pk=None, version=None):
534
531
get:
535
532
List the files in `output_file`.
536
533
"""
537
- return handle_get_related_file_tar (self .get_object (), ' output_file' , request , [ ' application/x-gzip' , ' application/gzip' , ' application/x-tar' , ' application/tar' ])
534
+ return handle_get_related_file_tar (self .get_object (), " output_file" , request , [ " application/x-gzip" , " application/gzip" , " application/x-tar" , " application/tar" ])
538
535
539
536
@swagger_auto_schema (methods = ['get' ], responses = {200 : FILE_RESPONSE }, manual_parameters = [FILENAME_PARAM ])
540
537
@action (methods = ['get' ], detail = True )
0 commit comments