yggdrasil.databricks.service¶
service ¶
Base class for every Databricks service wrapper.
Split out of :mod:yggdrasil.databricks.client so service modules
can import :class:DatabricksService without pulling the whole
client module's transitive surface.
DatabricksService ¶
Bases: ABC
Base class for every Databricks service wrapper.
Subclasses are plain classes (no @dataclass); they inherit the
client-only constructor by default and override :meth:__init__
explicitly when they need to accept additional configuration.
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_tags ¶
Return default resource tags for Databricks assets.
Returns:
| Type | Description |
|---|---|
dict[str, str]
|
A dict of default tags. |