``w.query_visualizations_legacy``: Query Visualizations (deprecated) ==================================================================== .. currentmodule:: databricks.sdk.service.sql .. py:class:: QueryVisualizationsLegacyAPI This is an evolving API that facilitates the addition and removal of vizualisations from existing queries within the Databricks Workspace. Data structures may change over time. **Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. [Learn more] [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html .. py:method:: create(options: Any, query_id: str, type: str [, description: Optional[str], name: Optional[str]]) -> LegacyVisualization Creates visualization in the query. **Warning**: This API is deprecated. Please use :method:queryvisualizations/create instead. [Learn more] [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html :param options: Any The options object varies widely from one visualization type to the next and is unsupported. Databricks does not recommend modifying visualization settings in JSON. :param query_id: str The identifier returned by :method:queries/create :param type: str The type of visualization: chart, table, pivot table, and so on. :param description: str (optional) A short description of this visualization. This is not displayed in the UI. :param name: str (optional) The name of the visualization that appears on dashboards and the query screen. :returns: :class:`LegacyVisualization` .. py:method:: delete(id: str) Removes a visualization from the query. **Warning**: This API is deprecated. Please use :method:queryvisualizations/delete instead. [Learn more] [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html :param id: str Widget ID returned by :method:queryvisualizations/create .. py:method:: update( [, created_at: Optional[str], description: Optional[str], id: Optional[str], name: Optional[str], options: Optional[Any], query: Optional[LegacyQuery], type: Optional[str], updated_at: Optional[str]]) -> LegacyVisualization Updates visualization in the query. **Warning**: This API is deprecated. Please use :method:queryvisualizations/update instead. [Learn more] [Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html :param created_at: str (optional) :param description: str (optional) A short description of this visualization. This is not displayed in the UI. :param id: str (optional) The UUID for this visualization. :param name: str (optional) The name of the visualization that appears on dashboards and the query screen. :param options: Any (optional) The options object varies widely from one visualization type to the next and is unsupported. Databricks does not recommend modifying visualization settings in JSON. :param query: :class:`LegacyQuery` (optional) :param type: str (optional) The type of visualization: chart, table, pivot table, and so on. :param updated_at: str (optional) :returns: :class:`LegacyVisualization`