Skip to content

Commit 67fca3d

Browse files
author
aviau
committed
Improved write_points docstring
1 parent 82ecb0f commit 67fca3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

influxdb/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ def request(self, url, method='GET', params=None, data=None,
169169

170170
def write_points(self, data, time_precision='s', *args, **kwargs):
171171
"""
172-
write_points()
173-
174172
Write to multiple time series names.
175173
176174
:param data: A list of dicts.
175+
:param time_precision: [Optional, default 's'] Either 's', 'm', 'ms'
176+
or 'u'.
177177
:param batch_size: [Optional] Value to write the points in batches
178178
instead of all at one time. Useful for when doing data dumps from
179179
one database to another or when doing a massive write operation

influxdb/dataframe_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def __init__(self, *args, **kwargs):
3030

3131
def write_points(self, data, *args, **kwargs):
3232
"""
33-
write_points()
34-
3533
Write to multiple time series names.
3634
3735
:param data: A dictionary mapping series names to pandas DataFrames
36+
:param time_precision: [Optional, default 's'] Either 's', 'm', 'ms'
37+
or 'u'.
3838
:param batch_size: [Optional] Value to write the points in batches
3939
instead of all at one time. Useful for when doing data dumps from
4040
one database to another or when doing a massive write operation

0 commit comments

Comments
 (0)