lzf12 commented on issue #48110:
URL: https://github.com/apache/airflow/issues/48110#issuecomment-2747140953

   I want to ask you a question, I want to develop Airflow for the second time, 
our business needs to support changing the task status to deferred, we have 
modified the definition in the task_instance_schema.py, but the REST interface 
still reports a 400 error
   
   class SetSingleTaskInstanceStateFormSchema(Schema):
       """Schema for handling the request of updating state of a single task 
instance."""
   
       dry_run = fields.Boolean(load_default=True)
       new_state = TaskInstanceStateField(
           required=True,
           validate=validate.OneOf(
               [TaskInstanceState.SUCCESS, TaskInstanceState.FAILED, 
TaskInstanceState.SKIPPED,TaskInstanceState.DEFERRED]
           ),
       )


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