File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
weaviate/collections/cluster Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ from httpx import Response
12from weaviate .connect import ConnectionV4
23
34
@@ -75,12 +76,15 @@ async def nodes(
7576 If the response is empty.
7677 """
7778 path = "/nodes"
79+ params = None
7880 if collection is not None :
7981 path += "/" + _capitalize_first_letter (collection )
8082 if output is not None :
81- path += f"? output= { output } "
83+ params = { " output" : output }
8284
83- response = await self ._connection .get (path = path , error_msg = "Get nodes status failed" )
85+ response : Response = await self ._connection .get (
86+ path = path , params = params , error_msg = "Get nodes status failed"
87+ )
8488 response_typed = _decode_json_response_dict (response , "Nodes status" )
8589 assert response_typed is not None
8690
You can’t perform that action at this time.
0 commit comments