dabla commented on code in PR #59087:
URL: https://github.com/apache/airflow/pull/59087#discussion_r2626811342


##########
providers/standard/tests/unit/standard/decorators/test_python.py:
##########
@@ -1131,3 +1140,29 @@ def my_teardown():
         my_teardown()
     assert work_task.operator.trigger_rule == TriggerRule.ONE_SUCCESS
     assert setup_task.operator.trigger_rule == TriggerRule.ONE_SUCCESS
+
+
+@task
+async def dummy_task():
+    pass
+
+
[email protected](not AIRFLOW_V_3_2_PLUS, reason="Test requires Airflow 
3.2+")
+def test_is_async_callable():
+    from airflow.sdk.bases.decorator import is_async_callable
+
+    assert is_async_callable(dummy_task)

Review Comment:
   I will rename it ;-)



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