chenlixuan opened a new issue, #12: URL: https://github.com/apache/incubator-hugegraph-ai/issues/12
### Bug Type (问题类型) exception / error (异常报错) ### Before submit - [X] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues. ### Environment (环境信息) - Server Version: v1.x.x - Toolchain Version: v1.x.x - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) --> ### Expected & Actual behavior (期望与实际表现) ```java client = PyHugeClient("localhost", "8080", user="admin", pwd="admin", graph="test") graph = client.graph() res = graph.getEdgeByPage("knows") ``` the source code: ```java def getEdgeByPage(self, label=None, vertex_id=None, direction=None, limit=0, page=None, properties=None): url = f'{self._host}/graphs/{self._graph_name}/graph/edges?' para = "" if vertex_id: if direction: para = para + "&vertex_id=\"" + vertex_id + "\"&direction=" + direction else: raise NotFoundError("Direction can not be empty.") if label: para = para + "&label=" + label if properties: para = para + "&properties=" + json.dumps(properties) if page: para += '&page={}'.format(page) else: para += '&page' if limit > 0: para = para + "&limit=" + str(limit) url = url + para[1:] response = self.session.get(url, auth=self._auth, headers=self._headers, timeout=self._timeout) if check_if_success(response, NotFoundError("not found edges: {}".format(response.content))): res = [] for item in json.loads(response.content)["edges"]: res.append(EdgeData(item)) return res, json.loads(response.content)["page"] ``` the exception occur in the last line "return res, json.loads(response.content)["page"]" ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org