We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5677f84 commit 0f607bdCopy full SHA for 0f607bd
influxdb/__init__.py
@@ -17,9 +17,10 @@
17
'SeriesHelper',
18
]
19
20
-if os.environ.get("INFLUXDB_NO_DATAFRAME_CLIENT", "0").lower() not in ("1", "true"):
21
- from .dataframe_client import DataFrameClient
22
- __all__.append( "DataFrameClient" )
+NO_DATAFRAME_CLIENT = os.environ.get("INFLUXDB_NO_DATAFRAME_CLIENT", "0")
+if NO_DATAFRAME_CLIENT.lower() not in ("1", "true"):
+ from .dataframe_client import DataFrameClient # noqa: F401 unused import
23
+ __all__.append("DataFrameClient")
24
25
26
__version__ = '5.0.0'
0 commit comments