Skip to content

Commit b51f433

Browse files
xginn8Lloyd Wallis
authored and
Lloyd Wallis
committed
Update delete_series docstring to differentiate between drop_database (influxdata#699)
Closes influxdata#666 Signed-off-by: Matthew McGinn <[email protected]>
1 parent 5ccb387 commit b51f433

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
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
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)
1616
- Update classifiers tuple to list in setup.py (#697 thx @Hanaasagi)
17+
- Update documentation for empty `delete_series` confusion
1718

1819
### Removed
1920

influxdb/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,9 @@ def set_user_password(self, username, password):
841841
def delete_series(self, database=None, measurement=None, tags=None):
842842
"""Delete series from a database.
843843
844-
Series can be filtered by measurement and tags.
844+
Series must be filtered by either measurement and tags.
845+
This method cannot be used to delete all series, use
846+
`drop_database` instead.
845847
846848
:param database: the database from which the series should be
847849
deleted, defaults to client's current database

0 commit comments

Comments
 (0)