10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c5fed3 commit 9ae3e17Copy full SHA for 9ae3e17
influxdb/client.py
@@ -324,7 +324,7 @@ def create_retention_policy(
324
query_string = \
325
"CREATE RETENTION POLICY %s ON %s " \
326
"DURATION %s REPLICATION %s" % \
327
- (name, (database or self._database), duration, replication)
+ (name, database or self._database, duration, replication)
328
329
if default is True:
330
query_string += " DEFAULT"
@@ -343,7 +343,7 @@ def get_list_series(self, database=None):
343
"""
344
Get the list of series
345
346
- return self.query("SHOW SERIES", database=(database or self._database))
+ return self.query("SHOW SERIES", database=database)
347
348
def get_list_users(self):
349
0 commit comments