FrankYang0529 commented on code in PR #74321:
URL: https://github.com/apache/airflow/pull/74321#discussion_r4193425285
##########
go-sdk/airflow/dag.go:
##########
@@ -116,9 +117,9 @@ type TaskRef struct {
// It is nil for a task that runs a Go function. A task from
TriggerDagRun runs no Go
// function, so its resultType, inputs and task are nil.
triggerDagRun *TriggerDagRunSpec
- // ifRef is the IfRef that DagRef.If or TaskGroupRef.If returned for
the task. It is nil for a
- // task from DagRef.Task or TaskGroupRef.Task.
- ifRef *IfRef
+ // decider is the IfRef or the SwitchRef that an If or a Switch method
returned for the task. It
+ // is nil for a task from DagRef.Task or TaskGroupRef.Task.
+ decider decider
Review Comment:
Thanks. I will resolve this after #74319 is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]