Edit on GitHub

sqlmesh.core.config.ui

 1from __future__ import annotations
 2
 3from sqlmesh.core.config.base import BaseConfig
 4
 5
 6class UIConfig(BaseConfig):
 7    """The UI configuration for SQLMesh.
 8
 9    Args:
10        format_on_save: Whether to format the SQL code on save or not.
11    """
12
13    format_on_save: bool = True
class UIConfig(sqlmesh.core.config.base.BaseConfig):
 7class UIConfig(BaseConfig):
 8    """The UI configuration for SQLMesh.
 9
10    Args:
11        format_on_save: Whether to format the SQL code on save or not.
12    """
13
14    format_on_save: bool = True

The UI configuration for SQLMesh.

Arguments:
  • format_on_save: Whether to format the SQL code on save or not.
Inherited Members
pydantic.main.BaseModel
BaseModel
model_extra
model_fields_set
model_construct
model_copy
model_dump
model_dump_json
model_json_schema
model_parametrized_name
model_rebuild
model_validate
model_validate_json
model_validate_strings
parse_file
from_orm
construct
schema
schema_json
validate
update_forward_refs
sqlmesh.core.config.base.BaseConfig
update_with
model_post_init
sqlmesh.utils.pydantic.PydanticModel
dict
json
copy
parse_obj
parse_raw
missing_required_fields
extra_fields
all_fields
all_field_infos
required_fields