Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47aeb9b

Browse filesBrowse 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
Copy full SHA for 47aeb9b

File tree

2 files changed

+4
-1
lines changed
Filter options

2 files changed

+4
-1
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines 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

Copy file name to clipboardExpand all lines: influxdb/client.py
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.