ephraimbuddy commented on a change in pull request #19911:
URL: https://github.com/apache/airflow/pull/19911#discussion_r760813915
##########
File path: airflow/api_connexion/schemas/dag_schema.py
##########
@@ -86,7 +86,7 @@ class DAGDetailSchema(DAGSchema):
doc_md = fields.String()
default_view = fields.String()
params = fields.Method('get_params', dump_only=True)
- tags = fields.Method("get_tags", dump_only=True)
+ tags = fields.Method("get_tags", dump_only=True) # type: ignore
Review comment:
I think it's not a bug. We did it because the DAGDetailsSchema is not a
database schema but object schema and there was no way we could extract the
tags in that case
--
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]