vincbeck commented on code in PR #70416:
URL: https://github.com/apache/airflow/pull/70416#discussion_r3757911388


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -213,6 +213,8 @@ def __init__(
             raise ValueError(f"Capacity number {capacity!r} is invalid")
         self.queues = queues
         self.team_name = team_name
+        if job.team_name is None:
+            job.team_name = team_name

Review Comment:
   When can that happen? Also, I am wondering if having `self.team_name` is 
necessary since now we have it in `job`. WDYT?



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