def upload_object(self, file_path, container, object_name, extra=None,
                      verify_hash=True, headers=None):
        upload_func = self._upload_file
        upload_func_kwargs = {'file_path': file_path}

        return self._put_object(container=container, object_name=object_name,
                                upload_func=upload_func,
                                upload_func_kwargs=upload_func_kwargs,
                                extra=extra, file_path=file_path,
                                verify_hash=verify_hash, headers=headers)
Upload an object.
dataset/ETHPy150Open apache/libcloud/libcloud/storage/drivers/cloudfiles.py/CloudFilesStorageDriver.upload_object