potiuk commented on a change in pull request #19911:
URL: https://github.com/apache/airflow/pull/19911#discussion_r760500937
##########
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:
@mik-laj @ephraimbuddy - > I am not sure if this is a "real" bug or this
assignment is valid here:
The error here is:
```
airflow/api_connexion/schemas/dag_schema.py:89: error: Incompatible types in
assignment (expression has type "Method", base class "DAGSchema" defined the
type as "marshmallow.fields.List")
tags = fields.Method("get_tags", dump_only=True)
```
--
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]