memgraph/tests/e2e/graphql/temporary_procedures/mgps.py
gvolfing 210bea83d4
Add GraphQL transpilation compatibility (#1018)
* Add callable mappings feature
* Implement mgps.validate (void procedure)
* Make '_' a valid variable name
2023-07-31 14:48:12 +02:00

9 lines
180 B
Python

import typing
import mgp
@mgp.read_proc
def components(context: mgp.ProcCtx) -> mgp.Record(versions=list, edition=str):
return mgp.Record(versions=["4.3"], edition="4.3.2")