Releases: ezwiefel/azure-databricks-api
Releases · ezwiefel/azure-databricks-api
Fixes a bug with autoscale cluster
Discovered and fixed by @alexjbush
Fixes some minor bugs and some minor, internal improvements
- Fixes issue with passing JSON objects to the endpoint
- Streamlines exception handling for a few of the modules
Fixes issue with passing parameters versus json objects
0.6.1 Adds Publish to PyPI GH Action
Adds support for the Libraries API
Adds support for the Libraries API - used for installing libraries from PyPI, Maven, CRAN, etc.
Adds support for DBFS API Calls
This adds support for DBFS API.
For example:
client = AzureDatabricksRESTClient('centralus', [API TOKEN])
client.dbfs.list('/tmp')
>>>[FileInfo(path='/tmp/dir/', is_dir=True, file_size=0),
FileInfo(path='/tmp/file.csv', is_dir=False, file_size=41189695)]
client.dbfs.upload_file_by_path("C:/Users/DemoUser/Desktop/test_file.csv", '/tmp/test_file_2.csv',
overwrite=False)
Adds support for Workspace
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)]
Initial Public Release
Initial public release of the Python wrapper for the Azure Databricks API
This release will support 3 services only - Clusters, Groups, and Tokens