yggdrasil.databricks.cluster.service¶
service ¶
Clusters ¶
Bases: DatabricksService
environments
property
¶
Base-environment service (shorthand for client.environments).
tables
property
¶
Collection-level Unity Catalog table service (shorthand for client.tables).
views
property
¶
Alias for :attr:tables — :class:Table covers both managed/external
tables and view-shaped securables.
catalogs
property
¶
Collection-level Unity Catalog hierarchy service (shorthand for client.catalogs).
schemas
property
¶
Collection-level Unity Catalog schema service (shorthand for client.schemas).
volumes
property
¶
Collection-level Unity Catalog volume service (shorthand for client.volumes).
default ¶
The project's default all-purpose cluster — the single-user cluster
named for the running client project (its capitalized display name,
:attr:DatabricksClient.product_name), as provisioned by
ygg databricks deploy. Resolves the existing cluster (no creation);
None when it isn't deployed unless raise_error. The cluster sibling
of dbc.environments.default() / warehouses.default().
default_tags ¶
Return default resource tags for Databricks assets.
Returns:
| Type | Description |
|---|---|
dict[str, str]
|
A dict of default tags. |