superset_sqllab_format_sql
Format SQL queries for improved readability by applying standard formatting rules to enhance code structure and clarity.
Instructions
Format a SQL query for better readability
Makes a request to the /api/v1/sqllab/format_sql endpoint to apply standard formatting rules to the provided SQL query.
Args: sql: SQL query to format
Returns: A dictionary with the formatted SQL
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |