Lee-W commented on PR #31712:
URL: https://github.com/apache/airflow/pull/31712#issuecomment-1580187407

   > > For users not using the latest airflow
   > 
   > Why is this needed? I think most operators have `**kwargs` and we can 
simply handle the default in BaseOperator.
   
   Because these operators already have their default value as `False`, which 
would overwrite the value handled in `BaseOperator`. Users passing this value 
as position arguments might be affected if we remove' deferrable' from these 
operators.
   
   Take 
[GlueCrawlerOperator](https://github.com/apache/airflow/blob/c2bb2e74ae91138f322a569e88d35e7eb0d29064/airflow/providers/amazon/aws/operators/glue_crawler.py#L40)
 as an example, if users call the op through 
   
   ```python
   op = GlueCrawlerOperator(
       config,
       "default",
       None,
       5,
       True,
       True
   )
   ```
   
   this might not work.


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