kaxil commented on code in PR #45583:
URL: https://github.com/apache/airflow/pull/45583#discussion_r1914450800
##########
task_sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -66,12 +68,15 @@ class RuntimeTaskInstance(TaskInstance):
_ti_context_from_server: Annotated[TIRunContext | None, Field(repr=False)]
= None
"""The Task Instance context from the API server, if any."""
- def get_template_context(self):
+ max_tries: int = 0
Review Comment:
The other option is to instead just keep `max_tries` in the context dict.
--
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]