Zach Schumacher
05/06/2021, 4:16 PMKevin Kho
CreateContainer(name="Task name")
Zach Schumacher
05/06/2021, 4:19 PM__call__
also took name, tho.
e.g. container_task = ContainerTask(name="sup")
works, however container_task(name="sup")
does not.Zach Schumacher
05/06/2021, 4:21 PMKevin Kho
name
is a build time thing, whereas container_task(name="sup")
would be a runtime thing. Naming tasks has to be a build time operation because it’s part of the metadata in constructing the DAG.Kevin Kho
name
needs to be passed during init
Zach Schumacher
05/06/2021, 4:23 PM