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.1.0.tar.gz
(12.9 kB
view details)
Built Distribution
File details
Details for the file apinator_databricks-0.1.0.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c91e5a9094c23d9919ff562c606e10ee8deded6734d460d93e92c4481253b352 |
|
MD5 | b761819a2c90674a8b6d2ca707864376 |
|
BLAKE2b-256 | d7515cf8c0fb9811157c9b4dc8c6c10782670e78014e48a8188df88f59a183a8 |
File details
Details for the file apinator_databricks-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7516e67140a13fc4e88776f194eb1c196be7eb2b555aa12ecf5f8743531d8cce |
|
MD5 | 3ad87a2b3304cdd899c96447d2d79510 |
|
BLAKE2b-256 | ab41248d869132ad8a79504ed92e0316bb38f3f50e8e500991922a99ef9499d6 |