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


##########
providers/influxdb/src/airflow/providers/influxdb/hooks/influxdb3.py:
##########
@@ -41,14 +43,23 @@
         InfluxDBClient3 = None  # type: ignore[assignment, misc]
         Point = None  # type: ignore[assignment, misc]
 
-from airflow.providers.common.compat.sdk import BaseHook
+from airflow.providers.common.compat.sdk import 
AirflowOptionalProviderFeatureException, BaseHook
 
 if TYPE_CHECKING:
     import pandas as pd
 
     from airflow.models import Connection
 
 
+class InfluxDB3AsyncQueryNotAvailableError(RuntimeError):

Review Comment:
   Was just being defensive but yeah ideally this should never hit. Removed.



##########
providers/influxdb/src/airflow/providers/influxdb/hooks/influxdb3.py:
##########
@@ -41,14 +43,23 @@
         InfluxDBClient3 = None  # type: ignore[assignment, misc]
         Point = None  # type: ignore[assignment, misc]
 
-from airflow.providers.common.compat.sdk import BaseHook
+from airflow.providers.common.compat.sdk import 
AirflowOptionalProviderFeatureException, BaseHook
 
 if TYPE_CHECKING:
     import pandas as pd
 
     from airflow.models import Connection
 
 
+class InfluxDB3AsyncQueryNotAvailableError(RuntimeError):

Review Comment:
   Was being defensive but yeah ideally this should never hit. Removed.



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