Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Update delete_series docstring to differentiate between drop_database #699

Merged
merged 2 commits into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- Update test suite to add support for Python 3.7 and InfluxDB v1.6.4 and 1.7.4 (#692 thx @clslgrnc)
- Update classifiers tuple to list in setup.py (#697 thx @Hanaasagi)
- Update documentation for empty `delete_series` confusion

### Removed

Expand Down
4 changes: 3 additions & 1 deletion influxdb/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,9 @@ def set_user_password(self, username, password):
def delete_series(self, database=None, measurement=None, tags=None):
"""Delete series from a database.

Series can be filtered by measurement and tags.
Series must be filtered by either measurement and tags.
This method cannot be used to delete all series, use
`drop_database` instead.

:param database: the database from which the series should be
deleted, defaults to client's current database
Expand Down