Skip to content

Commit 49698fc

Browse files
author
Panos
committed
Updated docstrings
1 parent d08be85 commit 49698fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

influxdb/client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ def write(self, data, params=None, expected_response_code=204,
295295

296296
def _read_chunked_response(self, response, raise_errors=True):
297297
for line in response.iter_lines():
298-
# import ipdb; ipdb.set_trace()
299298
if isinstance(line, bytes):
300299
line = line.decode('utf-8')
301300
data = json.loads(line)
@@ -329,6 +328,11 @@ def query(self,
329328
returns errors, defaults to True
330329
:type raise_errors: bool
331330
331+
:param chunked: Enable to use chunked responses from InfluxDB.
332+
With ``chunked`` enabled, a _generator_ of ResultSet objects
333+
is returned as opposed to a list.
334+
:type chunked: bool
335+
332336
:returns: the queried data
333337
:rtype: :class:`~.ResultSet`
334338
"""

0 commit comments

Comments
 (0)