sqlmesh.cli.options
1from __future__ import annotations 2 3import os 4 5import click 6 7paths = click.option( 8 "-p", 9 "--paths", 10 multiple=True, 11 default=[os.getcwd()], 12 help="Path(s) to the SQLMesh config/project.", 13) 14 15config = click.option( 16 "--config", 17 help="Name of the config object. Only applicable to configuration defined using Python script.", 18) 19 20start_time = click.option( 21 "-s", 22 "--start", 23 required=False, 24 help="The start datetime of the interval for which this command will be applied.", 25) 26 27end_time = click.option( 28 "-e", 29 "--end", 30 required=False, 31 help="The end datetime of the interval for which this command will be applied.", 32) 33 34execution_time = click.option( 35 "--execution-time", 36 help="The execution time (defaults to now).", 37) 38 39expand = click.option( 40 "--expand", 41 multiple=True, 42 help="Whether or not to expand materialized models (defaults to False). If True, all referenced models are expanded as raw queries. Multiple model names can also be specified, in which case only they will be expanded as raw queries.", 43) 44 45match_pattern = click.option( 46 "-k", 47 multiple=True, 48 help="Only run tests that match the pattern of substring.", 49) 50 51verbose = click.option( 52 "-v", 53 "--verbose", 54 is_flag=True, 55 help="Verbose output.", 56)
def
paths(f: ~FC) -> ~FC:
def
config(f: ~FC) -> ~FC:
def
start_time(f: ~FC) -> ~FC:
def
end_time(f: ~FC) -> ~FC:
def
execution_time(f: ~FC) -> ~FC:
def
expand(f: ~FC) -> ~FC:
def
match_pattern(f: ~FC) -> ~FC:
def
verbose(f: ~FC) -> ~FC: