[GitHub] [airflow] jml commented on issue #5598: [AIRFLOW-733][AIRFLOW-883] Apply default_args when setting `op.dag = dag` or `dag >> op`

2019-08-15 Thread GitBox
jml commented on issue #5598: [AIRFLOW-733][AIRFLOW-883] Apply default_args when setting `op.dag = dag` or `dag >> op` URL: https://github.com/apache/airflow/pull/5598#issuecomment-521613107 That could just as readily be written as: ```python dag = DAG() generate_tasks(dag)

[GitHub] [airflow] jml commented on issue #5598: [AIRFLOW-733][AIRFLOW-883] Apply default_args when setting `op.dag = dag` or `dag >> op`

2019-08-15 Thread GitBox
jml commented on issue #5598: [AIRFLOW-733][AIRFLOW-883] Apply default_args when setting `op.dag = dag` or `dag >> op` URL: https://github.com/apache/airflow/pull/5598#issuecomment-521608287 Maybe in Airflow 2.0, we should make the `dag` argument to `BaseOperator` non-optional and not supp