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.9.tar.gz
(12.7 kB
view details)
Built Distribution
File details
Details for the file apinator_databricks-0.0.9.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.0.9.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fac0a47ea5d61c0cdfe6ba94df3e72b0b6aec4e79a362141e6c4312681973e1 |
|
MD5 | 0045f7f86057030c5dce6bebca1973bd |
|
BLAKE2b-256 | 86e1945396a9e2e8077f9df0e415b6532a644cddc7ed1290a98e78b21069dfed |
File details
Details for the file apinator_databricks-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.9-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95ef65d54b7b088e1c667e80f87468c8ad650b2efe87da4fe245a0ef53652a9 |
|
MD5 | aa3d3a068ff978bacffea006b96d006e |
|
BLAKE2b-256 | deaf3e37bddfdf0078cbeb569818051d11966f1578b8f8798481dfc6f03f032c |