Skip to content

rearc-data/apinator-secoda

Repository files navigation

apinator-secoda

apinator bindings for the Databricks API.

Example

from apinator_secoda.common import DatabricksContext
from apinator_secoda.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
    ...

About

APInator bindings for the Secoda API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages