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)