jason810496 commented on code in PR #68349:
URL: https://github.com/apache/airflow/pull/68349#discussion_r3395383680
##########
go-sdk/bundle/bundlev1/task.go:
##########
@@ -61,7 +61,22 @@ func (f *taskFunction) Execute(ctx context.Context, logger
*slog.Logger) error {
in := fnType.In(i)
switch {
+ case isTIRunContext(in):
+ // sdk.TIRunContext embeds context.Context, so it also
satisfies
Review Comment:
The sentence was written "when TIRunContext was a struct", but still keep it
as the interface embeds context.Context too (interface embedding), which is the
correct Go term for both forms.
--
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]