JoranDox commented on code in PR #31421:
URL: https://github.com/apache/airflow/pull/31421#discussion_r1200039236


##########
airflow/api_connexion/schemas/task_instance_schema.py:
##########
@@ -171,7 +171,7 @@ class SetSingleTaskInstanceStateFormSchema(Schema):
     """Schema for handling the request of updating state of a single task 
instance."""
 
     dry_run = fields.Boolean(dump_default=True)
-    new_state = TaskInstanceStateField(required=True, 
validate=validate.OneOf([State.SUCCESS, State.FAILED]))
+    new_state = TaskInstanceStateField(required=True, 
validate=validate.OneOf([State.SUCCESS, State.FAILED, State.SKIPPED])

Review Comment:
   Ah good point, I saw that first before I got to the part I already edited 
above, but I guess I assumed this was automatic, done in 2 places, is that 
correct?



-- 
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]

Reply via email to