kaxil commented on code in PR #52871:
URL: https://github.com/apache/airflow/pull/52871#discussion_r2185245946
##########
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.
We don't have the default in the code anymore:
```py
DEFAULT_QUEUE: str = conf.get_mandatory_value("operators", "default_queue")
```
>Also I don't even know why that function exists -- get will fail if it's
not set with:
Yeah, no clue 🤷
--
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]