Skip to content

Commit 47aeb9b

Browse files
authored
Update delete_series docstring to differentiate between drop_database (influxdata#699)
Closes influxdata#666 Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
1 parent e24b42c commit 47aeb9b

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
@@ -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy