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.4.tar.gz
(12.4 kB
view details)
Built Distribution
File details
Details for the file apinator-databricks-0.0.4.tar.gz
.
File metadata
- Download URL: apinator-databricks-0.0.4.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efaeab03eace380addd119e262c2296e86cc6e20dbdb0890e63bdece682c48b7 |
|
MD5 | 657ae520bc7b8718bd0659392af2fb30 |
|
BLAKE2b-256 | 1be50b556d2436430a7f91c80105824c279c067d910cfe50c9d4d9ea84cceebe |
File details
Details for the file apinator_databricks-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04b8364f8bebb0b2f2511382fbcc746777152b9dd3b78bdb4ee2aaf86a633c1 |
|
MD5 | 1e942098e0252230872b6fc005514c40 |
|
BLAKE2b-256 | 87386551540b7031ed84a86a45f3359d3a45c8f752ab8a5cdc0d8b0e6b26a54e |