o-nikolas commented on code in PR #69072:
URL: https://github.com/apache/airflow/pull/69072#discussion_r3494012588


##########
providers/amazon/src/airflow/providers/amazon/aws/executors/aws_lambda/lambda_executor.py:
##########
@@ -94,7 +95,9 @@ def __init__(self, *args, **kwargs):
             from airflow.providers.common.compat.sdk import conf
 
             self.conf = conf
-
+        # Backwards compatibility for Airflow versions that do not define 
team_name.

Review Comment:
   Maybe make this more explicit with a TODO and note the min version that it 
can be removed by:
   
   
   ```suggestion
           # TODO: Remove this fallback once the min Airflow version for 
providers is >= 3.1         
           # (BaseExecutor.team_name is always defined from Airflow 3.1 onward).
   
   ```



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