Skip to content

Commit 9e61b29

Browse files
committed
Fix get_list_users method return value.
To be consistent with the other get methods, this should return a list of dictionaries, not a list of list of dictionaries.
1 parent c087659 commit 9e61b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def get_list_users(self):
441441
"""
442442
Get the list of users
443443
"""
444-
return list(self.query("SHOW USERS"))
444+
return list(self.query("SHOW USERS")["results"])
445445

446446
def delete_series(self, name, database=None):
447447
database = database or self._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