potiuk commented on code in PR #32669:
URL: https://github.com/apache/airflow/pull/32669#discussion_r1267136591


##########
airflow/cli/cli_config.py:
##########
@@ -90,7 +91,7 @@ def _check_value(self, action, value):
                         f"executors derived from them, your current executor: 
{executor}, subclassed from: "
                         f'{", ".join([base_cls.__qualname__ for base_cls in 
executor_cls.__bases__])}'
                     )
-                    raise ArgumentError(action, message)
+                    warnings.warn(message)

Review Comment:
   Good point. I used it for testing of celery and it remained here. I was 
going to propose this as a change but indeed it is not needed in this PR. will 
remove it.



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

Reply via email to