code: def import_uploads(self, uploads=None, upload_ids=None, synchronous=True,
                         **kwargs):
          
          kwargs = kwargs.copy()  # shadow the passed-in kwargs
          kwargs.update(self._server_config.get_client_kwargs())
          if uploads:
              data = {'uploads': uploads}
          elif upload_ids:
              data = {'upload_ids': upload_ids}
          response = client.put(self.path('import_uploads'), data, **kwargs)
          json = _handle_response(response, self._server_config, synchronous)
          return json
docs: Import uploads into a repository
  
          It expects either a list of uploads or upload_ids (but not both).
  
          :param uploads: Array of uploads to be imported
          :param upload_ids: Array of upload ids to be imported
          :param synchronous: What should happen if the server returns an HTTP
              202 (accepted) status code? Wait for the task to complete if
              ``True``. Immediately return the server's response otherwise.
          :param kwargs: Arguments to pass to requests.
          :returns: The server's response, with all JSON decoded.
          :raises: ``requests.exceptions.HTTPError`` If the server responds with
              an HTTP 4XX or 5XX message.