ashb commented on a change in pull request #5349: [AIRFLOW-4591] Make 
default_pool a real pool
URL: https://github.com/apache/airflow/pull/5349#discussion_r293737231
 
 

 ##########
 File path: airflow/models/baseoperator.py
 ##########
 @@ -258,7 +259,7 @@ def __init__(
         priority_weight: int = 1,
         weight_rule: str = WeightRule.DOWNSTREAM,
         queue: str = configuration.conf.get('celery', 'default_queue'),
-        pool: Optional[str] = None,
+        pool: Optional[str] = Pool.DEFAULT_POOL_NAME,
 
 Review comment:
   ```suggestion
           pool: str = Pool.DEFAULT_POOL_NAME,
   ```
   
   Not optional any more

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to