You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/04 15:39:49 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #13278: fix dag run type enum query for mysqldb driver

kaxil commented on a change in pull request #13278:
URL: https://github.com/apache/airflow/pull/13278#discussion_r551392128



##########
File path: airflow/utils/types.py
##########
@@ -24,6 +24,9 @@ class DagRunType(str, enum.Enum):
     SCHEDULED = "scheduled"
     MANUAL = "manual"
 
+    def __str__(self) -> str:  # pylint: disable=invalid-str-returned

Review comment:
       I think this is what the PR actually fixes or intends to do since we were inheriting from str since https://github.com/apache/airflow/pull/11621




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org