Skip to content

Adds support for Workspace

Pre-release
Pre-release
Compare
Choose a tag to compare
@ezwiefel ezwiefel released this 04 Dec 20:46

Adds support for the Databricks Workspace operations.

For example:

client = AzureDatabricksRESTClient('centralus', [API TOKEN])

client.workspace.list('/RandomTest/Workshop')
>>>[ObjectInfo(object_type='DIRECTORY', path='/RandomTest/Workshop/labs-answers', language=None),
    ObjectInfo(object_type='DIRECTORY', path='/RandomTest/Workshop/workshops', language=None),
    ObjectInfo(object_type='DIRECTORY', path='/RandomTest/Workshop/labs', language=None)]