bbenshalom commented on a change in pull request #17839:
URL: https://github.com/apache/airflow/pull/17839#discussion_r697925217
##########
File path: airflow/api_connexion/schemas/dag_run_schema.py
##########
@@ -104,6 +104,14 @@ def autofill(self, data, **kwargs):
return data
+class SetDagRunStateFormSchema(Schema):
+ """Schema for handling the request of setting state of DAG run"""
+
+ run_id = auto_field(data_key='dag_run_id')
+ dag_id = auto_field(dump_only=True)
+ state = DagStateField(dump_only=True)
Review comment:
> Also you will still need to satisfy the linter. Again, please consider
setting up `pre-commit`.
run the static checks locally, I think it should be good now (for some
reason they don't run automatically here in the GitHub actions), thanks!
--
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]