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