ashb commented on code in PR #52871:
URL: https://github.com/apache/airflow/pull/52871#discussion_r2185235873


##########
task-sdk/src/airflow/sdk/definitions/_internal/abstractoperator.py:
##########
@@ -62,7 +62,7 @@
 MINIMUM_PRIORITY_WEIGHT: int = -2147483648
 MAXIMUM_PRIORITY_WEIGHT: int = 2147483647
 DEFAULT_EXECUTOR: str | None = None
-DEFAULT_QUEUE: str = conf.get("operators", "default_queue", "default")
+DEFAULT_QUEUE: str = conf.get_mandatory_value("operators", "default_queue")

Review Comment:
   No point to this -- we've provided a default here in the code.



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to