APInator bindings for Databricks API
Project description
Apinator-Databricks
apinator
bindings for the Databricks API.
Example
from apinator_databricks.common import DatabricksContext
from apinator_databricks.unity_catalog import DatabricksUnityCatalogApi, uc_model
context = DatabricksContext(
access_token="TOKEN", # Will be kept secret
account="account",
)
api = DatabricksUnityCatalogApi(context)
shares: uc_model.ShareList = api.datashares.list()
for share in shares.shares:
assert isinstance(share, uc_model.SharePartial) # Not necessary, pydantic guarantees this
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apinator_databricks-0.0.10.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for apinator_databricks-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7490c4ca8cf6dd475ab8e2dd3b9a32cff833ccef5045e788c70921834aaa98be |
|
MD5 | dcb494b6d13e740fa1ddc1d3f710c7ff |
|
BLAKE2b-256 | 546ada50eb82972dfd3dcccfd7e4d2fa312045445b200ea0f93857bb11dcc14b |
Close
Hashes for apinator_databricks-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733d366c4ca699e462474833ae48e136005f6f7e06da5e45feb67c50083cc976 |
|
MD5 | 2f46396a02ae6dc764b08aa6549534f9 |
|
BLAKE2b-256 | ef1b3f1134a87700145c93142b7c72ed68f80bb78ac6544bbfbd0623c56b738c |