def upload(self, file_obj):
        """
        Replace the content of this object.

        :param file file_obj: The file (or file-like object) to upload.
        """
        return self._client.upload_object(
            self._instance, self._bucket, self.name, file_obj)
Replace the content of this object.

        :param file file_obj: The file (or file-like object) to upload.