uranusjr commented on code in PR #38054:
URL: https://github.com/apache/airflow/pull/38054#discussion_r1521963038


##########
airflow/models/baseoperator.py:
##########
@@ -858,6 +866,12 @@ def __init__(
         if end_date:
             self.end_date = timezone.convert_to_utc(end_date)
 
+        if executor:
+            warnings.warn(
+                "Specifying executors for operators is not yet"
+                f"supported, the value {executor} will have no effect"

Review Comment:
   ```suggestion
                   f"supported, the value {executor!r} will have no effect"
   ```



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