MCPcopy Create free account
hub / github.com/Brickgraph/fast-graph / cypher_query

Function cypher_query

app/query/cypher.py:21–24  ·  view source on GitHub ↗
(cypher_string: str)

Source from the content-addressed store, hash-verified

19# Query endpoint
20@router.get('/q', response_model=Query, summary='Query the database with a custom Cypher string')
21async def cypher_query(cypher_string: str):
22 with neo4j_driver.session() as session:
23 response = session.run(query=cypher_string)
24 return Query(response=response.data())

Callers

nothing calls this directly

Calls 1

QueryClass · 0.90

Tested by

no test coverage detected