kaxil commented on code in PR #74688:
URL: https://github.com/apache/airflow/pull/74688#discussion_r4267899853
##########
airflow-core/docs/tutorial/hitl.rst:
##########
@@ -219,7 +219,11 @@ calls involved (``~`` works as a wildcard for ``dag_id``
and ``dag_run_id``):
# Submit the response; the test run resumes the task on its next poll.
# map_index is -1 for non-mapped tasks.
PATCH
/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/hitlDetails
- {"chosen_options": ["Approve"], "params_input": {}}
+ {"chosen_options": ["Approve"], "params_input": {}, "request_created_at":
"<created_at from the GET>"}
+
+``request_created_at`` is optional. Copy it unchanged from the request you
read: if the task asked
+again in the meantime (a retry, a clear, or an operator that pauses more than
once in one run), the
+answer is refused with ``409`` instead of being applied to a request you did
not read.
Review Comment:
Will do it as a follow-up
--
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]