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
Built Distribution
File details
Details for the file apinator_databricks-0.0.11.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.0.11.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8eea67ef970b4674f5f514fa0c74b52c7acaa0fc7205b824ca11759009167f2 |
|
MD5 | 01c182501cf52bce233ff2662a9e8534 |
|
BLAKE2b-256 | 25172d53898ad94e76dbe92c1468e1dcb1be34b7fbe31086094d0937d6ccf0fc |
File details
Details for the file apinator_databricks-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.11-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 | 681c07d69e2df68684a4982a53de60208d314ec9749138e9fe0ed24584ff9c6f |
|
MD5 | 5214fdd666273483d592b94ee4c05f0a |
|
BLAKE2b-256 | dec22dcf557d46fd323627af293c6d4d412b8459a3a6ba105c31dd6d3aaa6c9e |