Skip to content

Commit 2bf9e42

Browse files
Grégory Starckaviau
authored andcommitted
Fix: serie can have no associated tags
1 parent 75b6e48 commit 2bf9e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/resultset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __len__(self):
9191
def keys(self):
9292
keys = []
9393
for serie in self._get_series():
94-
keys.append((serie['name'], serie['tags']))
94+
keys.append((serie['name'], serie.get('tags', None)))
9595
return keys
9696

9797
def items(self):

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