Answers for "airflow find trigger type"

0

airflow find trigger type

def my_fun(context):
    if context.get('dag_run').external_trigger:
        print('manual run')
    else:
        print('scheduled run')
Posted by: Guest on February-17-2022

Python Answers by Framework

Browse Popular Code Answers by Language