예제 #1
0
def exec_assertion(task, runner: QueryRunner, **kwargs):
    airflow_context = kwargs['airflow_context']
    sql = airflow_context['templates_dict']['sql']

    runner.assertion(query=sql)
def exec_assertion(task, runner: QueryRunner, **kwargs):
    airflow_context = kwargs["airflow_context"]
    sql = airflow_context["templates_dict"]["sql"]

    runner.assertion(query=sql)