Fixed dashboard deployment/creation (#230). The recent changes to our open-source library address issues related to dashboard deployment and creation, enhancing their reliability and consistency. The deploy_dashboard function has been deprecated in favor of the more accurate create_dashboard function, which now includes a publish flag. A validate method has been added to the Tile, MarkdownTile, and QueryTile classes to raise an error if the dashboard is invalid. The test_dashboards.py file has been updated to reflect these changes. These enhancements address issues #222, #229, and partially resolve #220. The commit includes an image of a dashboard created through the deprecated deploy_dashboard method. These improvements ensure better dashboard creation, validation, and deployment, while also maintaining backward compatibility through the deprecation of deploy_dashboard.
deploy_dashboard
function has been deprecated in favor of the more accuratecreate_dashboard
function, which now includes apublish
flag. Avalidate
method has been added to theTile
,MarkdownTile
, andQueryTile
classes to raise an error if the dashboard is invalid. Thetest_dashboards.py
file has been updated to reflect these changes. These enhancements address issues #222, #229, and partially resolve #220. The commit includes an image of a dashboard created through the deprecateddeploy_dashboard
method. These improvements ensure better dashboard creation, validation, and deployment, while also maintaining backward compatibility through the deprecation ofdeploy_dashboard
.