This commit is contained in:
DingZQ
2025-02-23 10:31:30 +08:00
parent 575c7b9dc9
commit c1878e4375

View File

@@ -2150,6 +2150,7 @@ if __name__ == "__main__":
# step3: 查询测试示例
with InfluxDBClient(url=url, token=token, org=org_name, timeout=1000*10000) as client:
create_and_initialize_buckets(client=client, org_name=org_name)
# # 示例1query_latest_record_by_ID
# bucket_name = "realtime_simulation_result" # 数据存储的 bucket 名称
# node_id = "ZBBDTZDP000022" # 查询的节点 ID