Dashboard
laktory.models.resources.databricks.Dashboard
¤
Bases: DashboardBase
Databricks Lakeview Dashboard
Examples:
import io
from laktory import models
dashboard_yaml = '''
display_name: databricks-costs
file_path: ./dashboards/databricks_costs.json
parent_path: /.laktory/dashboards
warehouse_id: a7d9f2kl8mp3q6rt
access_controls:
- group_name: account users
permission_level: CAN_VIEW
- group_name: role-engineers
permission_level: CAN_RUN
'''
dashboard = models.resources.databricks.Dashboard.model_validate_yaml(
io.StringIO(dashboard_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
create_time
|
TYPE:
|
dashboard_change_detected
|
TYPE:
|
dashboard_id
|
TYPE:
|
dataset_catalog
|
Sets the default catalog for all datasets in this dashboard. Does not impact table references that use fully qualified catalog names (ex: samples.nyctaxi.trips)
TYPE:
|
dataset_schema
|
Sets the default schema for all datasets in this dashboard. Does not impact table references that use fully qualified catalog names (ex: samples.nyctaxi.trips)
TYPE:
|
display_name
|
The display name of the dashboard
TYPE:
|
embed_credentials
|
Whether to embed credentials in the dashboard. Default is
TYPE:
|
etag
|
TYPE:
|
file_path
|
The path to the dashboard JSON file. Conflicts with
TYPE:
|
lifecycle_state
|
TYPE:
|
md5
|
TYPE:
|
path
|
TYPE:
|
serialized_dashboard
|
The contents of the dashboard in serialized string form. Conflicts with
TYPE:
|
update_time
|
TYPE:
|
warehouse_id
|
The warehouse ID used to run the dashboard
TYPE:
|
| LAKTORY | DESCRIPTION |
|---|---|
access_controls
|
Access controls list
TYPE:
|
name_prefix
|
Prefix added to the dashboard display name
TYPE:
|
name_suffix
|
Suffix added to the dashboard display name
TYPE:
|
parent_path_
|
The path to a workspace folder (inside laktory root) containing the dashboard. If changed, the query will be recreated.
TYPE:
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
additional_core_resources |
TYPE:
|
additional_core_resources
property
¤
- permissions