Skip to content

Commit

Permalink
update tidb batch get endpoint to basic mode (#11426)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong authored Dec 6, 2024
1 parent a8d32f9 commit 9b7adcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def batch_update_tidb_serverless_cluster_status(
clusters = []
tidb_serverless_list_map = {item.cluster_id: item for item in tidb_serverless_list}
cluster_ids = [item.cluster_id for item in tidb_serverless_list]
params = {"clusterIds": cluster_ids, "view": "FULL"}
params = {"clusterIds": cluster_ids, "view": "BASIC"}
response = requests.get(
f"{api_url}/clusters:batchGet", params=params, auth=HTTPDigestAuth(public_key, private_key)
)
Expand Down

0 comments on commit 9b7adcd

Please sign in to comment.