ephraimbuddy commented on a change in pull request #18724:
URL: https://github.com/apache/airflow/pull/18724#discussion_r722150445
##########
File path: airflow/api_connexion/schemas/task_instance_schema.py
##########
@@ -122,7 +122,8 @@ class SetTaskInstanceStateFormSchema(Schema):
dry_run = fields.Boolean(dump_default=True)
task_id = fields.Str(required=True)
- execution_date = fields.DateTime(required=True,
validate=validate_istimezone)
+ execution_date = fields.DateTime(validate=validate_istimezone)
+ dag_run_id = fields.Str()
Review comment:
The openAPi spec would have been a better place to handle it but it
doesn't support it.
We can do it here but it won't appear in the documentation
--
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]