subhramit commented on code in PR #71976:
URL: https://github.com/apache/airflow/pull/71976#discussion_r3889520436


##########
providers/influxdb/tests/system/influxdb/example_influxdb3.py:
##########
@@ -57,6 +57,15 @@ def write_to_influxdb3():
 )
 # [END howto_operator_influxdb3]
 
+# [START howto_operator_influxdb3_deferrable]
+deferrable_query_task = InfluxDB3Operator(
+    task_id="query_data_deferrable",
+    sql="SELECT * FROM \"temperature\" WHERE time > now() - INTERVAL '1 hour'",
+    influxdb3_conn_id="influxdb3_default",
+    deferrable=True,

Review Comment:
   Not by default, in providers the usual pattern is tp follow the global 
Airflow setting and fall back to false (see [airbyte 
example](https://github.com/apache/airflow/blob/caa8f286a061a68f4a4a615d9d9dbfa8d863fe7a/providers/airbyte/src/airflow/providers/airbyte/operators/airbyte.py#L70))
   
   Keeping it true here also matches other provider system examples for the 
async variant (see 
[S3](https://github.com/apache/airflow/blob/caa8f286a061a68f4a4a615d9d9dbfa8d863fe7a/providers/amazon/tests/system/amazon/aws/example_s3.py#L191-L196)
 and 
[livy](https://github.com/apache/airflow/blob/caa8f286a061a68f4a4a615d9d9dbfa8d863fe7a/providers/apache/livy/tests/system/apache/livy/example_livy.py#L58-L67)
 examples)



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