File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ These all assume that an object of :class:`.GraphDataScience` is available as `g
3737
3838 Returns details about the status of the system
3939
40+ .. py :function :: gds.debug.arrow() -> Series[Any]
41+
42+ Returns details about the status of the GDS Arrow Flight server
43+
4044.. py :function :: gds.util.asNode(node_id: int ) -> Any
4145
4246 Return a node object for the given node id or null if none exists.
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ def sysInfo(self) -> "Series[Any]":
1515
1616 return self ._query_runner .run_query (query ).squeeze () # type: ignore
1717
18+ def arrow (self ) -> "Series[Any]" :
19+ self ._namespace += ".arrow"
20+ query = f"CALL { self ._namespace } ()"
21+
22+ return self ._query_runner .run_query (query ).squeeze () # type: ignore
23+
1824
1925class DirectSystemEndpoints (CallerBase ):
2026 @client_only_endpoint ("gds" )
Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ def test_sysInfo(gds: GraphDataScience) -> None:
3030 assert "gdsVersion" in (list (result ["key" ]))
3131
3232
33+ def test_debug_arrow (gds : GraphDataScience ) -> None :
34+ result = gds .debug .arrow ()
35+
36+ assert "listenAddress" in (result .keys ())
37+
38+
3339@pytest .mark .enterprise
3440def test_is_licensed (gds : GraphDataScience ) -> None :
3541 assert gds .is_licensed ()
You can’t perform that action at this time.
0 commit comments