Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-7034

Remove feature: Assigning Dag to task using Bitshift Operator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: core
    • Labels:
      None

      Description

      It is possible to assign a task to the dag using the bitshift operators, however it doesn't pick up default_args when done this way <https://issues.apache.org/jira/browse/AIRFLOW-883>:

      ```
      dag = DAG('my_dag', default_args=default_args)
      dummy = DummyOperator(task_id='dummy')

      dag >> dummy
      ```

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kaxilnaik Kaxil Naik
                Reporter:
                kaxilnaik Kaxil Naik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: