Skip to content

Commit 3a2a2a9

Browse files
author
aviau
committed
Fixed wrong ResultSet example
1 parent a23e46c commit 3a2a2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/resultset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Using ``rs.get_points(tags={'host_name': 'influxdb.com'})`` will return a genera
3131
::
3232

3333
rs = cli.query("SELECT * from cpu")
34-
cpu_influxdb_com_points = list(rs[{"host_name": "influxdb.com"}])
34+
cpu_influxdb_com_points = list(rs.get_points(tags={"host_name": "influxdb.com"}))
3535

3636
Filtering by measurement and tags
3737
---------------------------------

0 commit comments

Comments
 (0)