Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Committed-by: xiaolei.zl from Dev container
  • Loading branch information
zhanglei1949 committed Dec 23, 2024
1 parent 7f63dba commit 8086a56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions coordinator/gscoordinator/flex/core/insight/groot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,20 @@ def check_graph_exists(self, graph_id: str):

def list_service_status(self) -> List[dict]:
groot_endpoints = self._graph.groot_endpoints
return [
res = [

Check notice on line 103 in coordinator/gscoordinator/flex/core/insight/groot.py

View check run for this annotation

codefactor.io / CodeFactor

coordinator/gscoordinator/flex/core/insight/groot.py#L103

Multiple spaces after operator. (E222)
{
"graph_id": self._graph.id,
"status": "Running",
"start_time": CREATION_TIME,
"sdk_endpoints": {
"gremlin": groot_endpoints["gremlin_endpoint"],
"cypher": groot_endpoints["cypher_endpoint"],
"grpc": groot_endpoints["grpc_endpoint"],
},
}
]
if "cypher_endpoint" in res[0]:
res[0]["sdk_endpoints"]["cypher"] = groot_endpoints["cypher_endpoint"]
return res

def create_graph(self, graph: dict) -> dict:
raise RuntimeError("Create graph is not supported yet.")
Expand Down

0 comments on commit 8086a56

Please sign in to comment.