henry3260 commented on code in PR #73528: URL: https://github.com/apache/airflow/pull/73528#discussion_r4070811554
########## go-sdk/README.md: ########## @@ -169,37 +167,55 @@ data parameters is rejected at registration. A sole struct parameter also falls decoding when it gets exactly one passed argument no field claims, so a task can still take an upstream object as a single argument. -### Reading the task runtime context +### The task context + +`airflow.Context` is the first parameter of every task handler -- the Go equivalent of the execution +context the Python and Java SDKs expose. Everything Airflow gives the task is a method on it: Review Comment: > Would it be better to not mention the other SDKs in the Go-SDK README. oh got it -- 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]
