Skip to contents

Exports an object or the contents of an entire directory.

Usage

export_notebook(client, path, format = NULL)

workspaceExport(client, path, format = NULL)

Arguments

client

Required. Instance of DatabricksClient()

path

Required. The absolute path of the object or directory.

format

This specifies the format of the exported file.

Details

If path does not exist, this call returns an error RESOURCE_DOES_NOT_EXIST.

If the exported data would exceed size limit, this call returns MAX_NOTEBOOK_SIZE_EXCEEDED. Currently, this API does not support exporting a library.