Skip to content

Commit 5b12cfa

Browse files
committed
Update delete_series docstring to differentiate between drop_database
Closes influxdata#666 Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
1 parent 73503b5 commit 5b12cfa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1313

1414
### Changed
1515
- Update test suite to add support for Python 3.7 and InfluxDB v1.6.4 and 1.7.4 (#692 thx @clslgrnc)
16+
- Update documentation for empty `delete_series` confusion
1617

1718
### Removed
1819

influxdb/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,9 @@ def set_user_password(self, username, password):
827827
def delete_series(self, database=None, measurement=None, tags=None):
828828
"""Delete series from a database.
829829
830-
Series can be filtered by measurement and tags.
830+
Series must be filtered by either measurement and tags.
831+
This method cannot be used to delete all series, use
832+
`drop_database` instead.
831833
832834
:param database: the database from which the series should be
833835
deleted, defaults to client's current database

0 commit comments

Comments
 (0)