This commit is contained in:
DingZQ
2025-02-15 15:29:10 +08:00
parent 86cf0b1147
commit e6a3fbd13c

View File

@@ -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
# 示例调用