SameerMesiah97 commented on code in PR #69092:
URL: https://github.com/apache/airflow/pull/69092#discussion_r3531944022


##########
providers/celery/src/airflow/providers/celery/executors/celery_executor.py:
##########
@@ -210,7 +211,7 @@ def _send_workloads(self, workload_tuples_to_send: 
Sequence[WorkloadInCelery]):
             ):
                 retries = self.workload_publish_retries[key]
                 if retries < self.workload_publish_max_retries:

Review Comment:
   `BaseExecutor` did not have the `team_name` attribute until 3.1 so I believe 
the block of code you are referring needs to be here to as the Celery provider 
has to support version older than 3.1.



##########
providers/celery/src/airflow/providers/celery/executors/celery_executor.py:
##########
@@ -210,7 +211,7 @@ def _send_workloads(self, workload_tuples_to_send: 
Sequence[WorkloadInCelery]):
             ):
                 retries = self.workload_publish_retries[key]
                 if retries < self.workload_publish_max_retries:

Review Comment:
   `BaseExecutor` did not have the `team_name` attribute until 3.1 so I believe 
the block of code you are referring needs to be here to as the Celery provider 
has to support versions older than 3.1.



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