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.7.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file apinator_databricks-0.0.7.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.0.7.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b689b1c3186980a0d49f40a894e837fb6353ee88b3d604a44a523dbf72b83c |
|
MD5 | 9d8898e01a684c517380044e6d910907 |
|
BLAKE2b-256 | 760907492864532411d2c78f6b5ee0ddac674603c7d26608d1ed159035b884f8 |
File details
Details for the file apinator_databricks-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4d41e644dfd54d284e3ea78d0934ab4a9166fd5618813f48d0a9652cda37111 |
|
MD5 | bee5dabc0b97d7652ce249d18c3c5d53 |
|
BLAKE2b-256 | 0d1b9ae7ff36babc8633181cad6a6e179f29c487fb3637af3948137549e1fac8 |