Refine
This commit is contained in:
@@ -1371,10 +1371,10 @@ def query_tags(bucket: str, measurement: str, client: InfluxDBClient=client) ->
|
||||
|
||||
# 提取 Tag 列表
|
||||
tag_keys = []
|
||||
for table in result:
|
||||
for record in table.records:
|
||||
tag_keys.append(record.get_value())
|
||||
|
||||
#for table in result:
|
||||
# for record in table.records:
|
||||
# tag_keys.append(record.get_value())
|
||||
#
|
||||
return tag_keys
|
||||
|
||||
# 示例调用
|
||||
|
||||
Reference in New Issue
Block a user