MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / execute

Method execute

bindings/python/graphlite/graphlite.py:299–310  ·  view source on GitHub ↗

Execute a statement without returning results Args: session_id: Session ID from create_session() statement: GQL statement to execute Raises: GraphLiteError: If execution fails

(self, session_id: str, statement: str)

Source from the content-addressed store, hash-verified

297 _lib.graphlite_free_string(result_ptr)
298
299 def execute(self, session_id: str, statement: str) -> None:
300 """
301 Execute a statement without returning results
302
303 Args:
304 session_id: Session ID from create_session()
305 statement: GQL statement to execute
306
307 Raises:
308 GraphLiteError: If execution fails
309 """
310 self.query(session_id, statement)
311
312 def close_session(self, session_id: str) -> None:
313 """

Callers 2

mainFunction · 0.95
mainFunction · 0.95

Calls 1

queryMethod · 0.95

Tested by

no test coverage detected