code: def upload_object(self, object_name, file_obj):
          
          return self._client.upload_object(
              self._instance, self.name, object_name, file_obj)
docs: Upload an object to this bucket.
  
          :param str object_name: The target name of the object.
          :param file file_obj: The file (or file-like object) to upload.
          :param str content_type: The content type associated to this object.
                                   This is mainly useful when accessing an object
                                   directly via a web browser. If unspecified, a
                                   content type *may* be automatically derived
                                   from the specified ``file_obj``.