Closed JCZuurmond closed 2 months ago
Related to this to having a good signature for Dashboards
class public method. Should the deploy_dashboard
return the dashboard_id
instead of the SDKDashboard
:
def deploy_dashboard(
self,
lakeview_dashboard: Dashboard,
*,
parent_path: str | None = None,
dashboard_id: str | None = None,
warehouse_id: str | None = None,
) -> SDKDashboard:
Dashboards class public methods have to work only with DashboardMetadata instances. we shouldn't leak any objects of lakeview or sdk in that class' public methods (edited)