Skip to content

Commit 1148c13

Browse files
authored
Update client.py
1 parent 7cb5656 commit 1148c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

influxdb/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,14 +784,14 @@ def get_list_measurements(self):
784784
"""
785785
return list(self.query("SHOW MEASUREMENTS").get_points())
786786

787-
def drop_measurement(self, measurement):
787+
def drop_measurement(self, measurement, database):
788788
"""Drop a measurement from InfluxDB.
789789
790790
:param measurement: the name of the measurement to drop
791791
:type measurement: str
792792
"""
793793
self.query("DROP MEASUREMENT {0}".format(quote_ident(measurement)),
794-
method="POST")
794+
database=database, method="POST")
795795

796796
def create_retention_policy(self, name, duration, replication,
797797
database=None,

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