Alan Gauld via Tutor wrote:

>>dag=dag
> 
> I'm not sure what you think the line above does but
> in normal Python it would have zero effect.

The context makes it a keyword argument.

dag = DAG(...)
...
SimpleHttpOperator(
    ...
    dag=dag
)


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to