dabla commented on PR #59087:
URL: https://github.com/apache/airflow/pull/59087#issuecomment-3685886384

   > Why do we need to put `is_async_callable` in the SDK? Is it used anywhere 
other than the operator?
   
   Because the decorator is in the SDK, and it inherits from BaseOperator which 
now has the is_async property. The PythonOperator is a special case, as it can 
be sync or async depending on the callable, thus there it has to be determined 
dynamically, otherwise BaseOperators are always is_async False and 
BaseAsyncOperators are by default always True dor is_async.


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