influxdb-client
Advanced tools
| """Parsing response from InfluxDB to FluxStructures or DataFrame.""" | ||
| import base64 | ||
@@ -150,2 +149,7 @@ import codecs | ||
| yield df | ||
| except BaseException as e: | ||
| e_type = type(e).__name__ | ||
| if "CancelledError" in e_type or "TimeoutError" in e_type: | ||
| e.add_note("Stream cancelled during read. Recommended: Check Influxdb client `timeout` setting.") | ||
| raise | ||
| finally: | ||
@@ -152,0 +156,0 @@ self._close() |
| """Version of the Client that is used in User-Agent header.""" | ||
| VERSION = '1.47.0' | ||
| VERSION = '1.48.0' |
+7
-0
@@ -1316,2 +1316,9 @@ # influxdb-client-python | ||
| The `InfluxDBClientAsync` constructor accepts a number of __configuration properties__. Most useful among these are: | ||
| * `connection_pool_maxsize` - The total number of simultaneous connections. Defaults to `multiprocessing.cpu_count() * 5`. | ||
| * `enable_gzip` - enable gzip compression during `write` and `query` calls. Defaults to `false`. | ||
| * `proxy` - URL of an HTTP proxy to be used. | ||
| * `timeout` - The maximum number of milliseconds for handling HTTP requests from initial handshake to handling response data. This is passed directly to the underlying transport library. If large amounts of data are anticipated, for example from `query_api.query_stream(...)`, this should be increased to avoid `TimeoutError` or `CancelledError`. Defaults to 10_000 ms. | ||
| > ``` python | ||
@@ -1318,0 +1325,0 @@ > import asyncio |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
4420651
0.06%88378
0.01%