from metadata.sdk import configurefrom metadata.sdk.entities import Dashboardsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDdashboard = Dashboards.retrieve("03fb5cc3-de48-423f-9926-8e192e5de59d")print(f"{dashboard.fullyQualifiedName}: {dashboard.displayName}")# Get by ID with fieldsdashboard = Dashboards.retrieve( "03fb5cc3-de48-423f-9926-8e192e5de59d", fields=["owners", "tags", "charts"])# Get by fully qualified namedashboard = Dashboards.retrieve_by_name("sample_superset.10")# Get by name with fieldsdashboard = Dashboards.retrieve_by_name( "sample_superset.10", fields=["owners", "tags", "charts", "domains"])
from metadata.sdk import configurefrom metadata.sdk.entities import Dashboardsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDdashboard = Dashboards.retrieve("03fb5cc3-de48-423f-9926-8e192e5de59d")print(f"{dashboard.fullyQualifiedName}: {dashboard.displayName}")# Get by ID with fieldsdashboard = Dashboards.retrieve( "03fb5cc3-de48-423f-9926-8e192e5de59d", fields=["owners", "tags", "charts"])# Get by fully qualified namedashboard = Dashboards.retrieve_by_name("sample_superset.10")# Get by name with fieldsdashboard = Dashboards.retrieve_by_name( "sample_superset.10", fields=["owners", "tags", "charts", "domains"])
from metadata.sdk import configurefrom metadata.sdk.entities import Dashboardsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDdashboard = Dashboards.retrieve("03fb5cc3-de48-423f-9926-8e192e5de59d")print(f"{dashboard.fullyQualifiedName}: {dashboard.displayName}")# Get by ID with fieldsdashboard = Dashboards.retrieve( "03fb5cc3-de48-423f-9926-8e192e5de59d", fields=["owners", "tags", "charts"])# Get by fully qualified namedashboard = Dashboards.retrieve_by_name("sample_superset.10")# Get by name with fieldsdashboard = Dashboards.retrieve_by_name( "sample_superset.10", fields=["owners", "tags", "charts", "domains"])