docs: def create_batch(self,
                       function,
                       input_credentials_file,
                       input_bucket_location,
                       input_bucket_name,
                       output_credentials_file,
                       output_bucket_location,
                       output_bucket_name,
                       model=None,
                       **kwargs):
          """
          Submit a batch-processing request.
  
          Run Compare and Comply methods over a collection of input documents.
          **Important:** Batch processing requires the use of the [IBM Cloud Object Storage
          service](https://cloud.ibm.com/docs/services/cloud-object-storage/about-cos.html#about-ibm-cloud-object-storage).
          The use of IBM Cloud Object Storage with Compare and Comply is discussed at [Using
          batch
          processing](https://cloud.ibm.com/docs/services/compare-comply/batching.html#before-you-batch).
  
          :param str function: The Compare and Comply method to run across the submitted
          input documents.
          :param file input_credentials_file: A JSON file containing the input Cloud Object
          Storage credentials. At a minimum, the credentials must enable `READ` permissions
          on the bucket defined by the `input_bucket_name` parameter.
          :param str input_bucket_location: The geographical location of the Cloud Object
          Storage input bucket as listed on the **Endpoint** tab of your Cloud Object
          Storage instance; for example, `us-geo`, `eu-geo`, or `ap-geo`.
          :param str input_bucket_name: The name of the Cloud Object Storage input bucket.
          :param file output_credentials_file: A JSON file that lists the Cloud Object
          Storage output credentials. At a minimum, the credentials must enable `READ` and
          `WRITE` permissions on the bucket defined by the `output_bucket_name` parameter.
          :param str output_bucket_location: The geographical location of the Cloud Object
          Storage output bucket as listed on the **Endpoint** tab of your Cloud Object
          Storage instance; for example, `us-geo`, `eu-geo`, or `ap-geo`.
          :param str output_bucket_name: The name of the Cloud Object Storage output bucket.
          :param str model: The analysis model to be used by the service. For the **Element
          classification** and **Compare two documents** methods, the default is
          `contracts`. For the **Extract tables** method, the default is `tables`. These
          defaults apply to the standalone methods as well as to the methods' use in
          batch-processing requests.
          :param dict headers: A `dict` containing the request headers
          :return: A `DetailedResponse` containing the result, headers and HTTP status code.
          :rtype: DetailedResponse
          """
  
          if function is None:
              raise ValueError('function must be provided')
          if input_credentials_file is None:
              raise ValueError('input_credentials_file must be provided')
          if input_bucket_location is None:
              raise ValueError('input_bucket_location must be provided')
          if input_bucket_name is None:
              raise ValueError('input_bucket_name must be provided')
          if output_credentials_file is None:
              raise ValueError('output_credentials_file must be provided')
          if output_bucket_location is None:
              raise ValueError('output_bucket_location must be provided')
          if output_bucket_name is None:
              raise ValueError('output_bucket_name must be provided')
  
          headers = {}
          if 'headers' in kwargs:
              headers.update(kwargs.get('headers'))
          sdk_headers = get_sdk_headers('compare-comply', 'V1', 'create_batch')
          headers.update(sdk_headers)
  
          params = {'version': self.version, 'function': function, 'model': model}
  
          form_data = {}
          form_data['input_credentials_file'] = (None, input_credentials_file,
                                                 'application/json')
          form_data['input_bucket_location'] = (None, input_bucket_location,
                                                'text/plain')
          form_data['input_bucket_name'] = (None, input_bucket_name, 'text/plain')
          form_data['output_credentials_file'] = (None, output_credentials_file,
                                                  'application/json')
          form_data['output_bucket_location'] = (None, output_bucket_location,
                                                 'text/plain')
          form_data['output_bucket_name'] = (None, output_bucket_name,
                                             'text/plain')
  
          url = '/v1/batches'
          response = self.request(
              method='POST',
              url=url,
              headers=headers,
              params=params,
              files=form_data,
              accept_json=True)
          return response