You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/22 12:49:45 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #18724: Support the use of `run_id` in `set_task_instance_state`(REST API)

ephraimbuddy commented on a change in pull request #18724:
URL: https://github.com/apache/airflow/pull/18724#discussion_r754243372



##########
File path: airflow/api/common/experimental/mark_tasks.py
##########
@@ -62,8 +62,10 @@ def _create_dagruns(dag, execution_dates, state, run_type):
 
 @provide_session
 def set_state(
+    *,
     tasks: Iterable[BaseOperator],
-    execution_date: datetime.datetime,
+    execution_date: Optional[datetime.datetime] = None,
+    run_id: Optional[str] = None,

Review comment:
       Done




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org