Skip to content

Commit 7f76d4c

Browse files
wip
1 parent f1d3346 commit 7f76d4c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

influxdb_client_3/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from influxdb_client_3.write_client.client.write_api import WriteApi as _WriteApi, SYNCHRONOUS, ASYNCHRONOUS, \
1515
PointSettings, DefaultWriteOptions, WriteType
1616
from influxdb_client_3.write_client.domain.write_precision import WritePrecision
17-
from influxdb_client_3.write_client.rest import ApiException
1817

1918
polars = importlib.util.find_spec("polars") is not None
2019

@@ -470,7 +469,12 @@ async def query_async(self, query: str, language: str = "sql", mode: str = "all"
470469

471470
def get_server_version(self) -> str:
472471
version = None
473-
(resp_body, _, header) = self._client.api_client.call_api(resource_path="/ping", method="GET", response_type=object)
472+
(resp_body, _, header) = self._client.api_client.call_api(
473+
resource_path="/ping",
474+
method="GET",
475+
response_type=object
476+
)
477+
474478

475479
for key, value in header.items():
476480
if key.lower() == "x-influxdb-version":

0 commit comments

Comments
 (0)