jason810496 commented on code in PR #63733:
URL: https://github.com/apache/airflow/pull/63733#discussion_r2944236383
##########
airflow-core/src/airflow/ui/src/components/RunTypeIcon.tsx:
##########
@@ -36,6 +36,7 @@ export const RunTypeIcon = ({ runType, ...rest }: Props) => {
switch (runType) {
case "asset_materialization":
case "asset_triggered":
+ case "operator":
return <HiDatabase style={iconStyle} {...rest} />;
Review Comment:
Perhaps different icon for `operator_triggered`?
##########
airflow-core/src/airflow/utils/types.py:
##########
@@ -28,6 +28,7 @@ class DagRunType(str, enum.Enum):
BACKFILL_JOB = "backfill"
SCHEDULED = "scheduled"
MANUAL = "manual"
+ OPERATOR = "operator"
Review Comment:
Would the purpose be more clear by naming `operator` as `operator_triggered`?
Since we're using `"message": f"Dag with dag_id '{dag_id}' does not allow
operator-triggered runs",` in the error details.
--
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]