You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2024/05/03 04:16:54 UTC
Re: [PR] Add triggered_by field to DAG Run model to distinguish the source of a trigger [airflow]
uranusjr commented on code in PR #39165:
URL: https://github.com/apache/airflow/pull/39165#discussion_r1588650776
##########
airflow/utils/types.py:
##########
@@ -72,3 +72,18 @@ class EdgeInfoType(TypedDict):
"""Extra metadata that the DAG can store about an edge, usually generated from an EdgeModifier."""
label: str | None
+
+
+class DagRunTriggeredByType(str, enum.Enum):
+ """Class with TriggeredBy types for DagRun."""
+
+ CLI = "cli" # for the trigger subcommand for dag command in cli: airflow dags trigger
Review Comment:
This does not read like English
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org