fbdcad1106
Summary: You should now be able to invoke query procedures written in Python. To test the example you can run memgraph with PYTHONPATH set to `include`. For example, assuming you are in the root of the repo, run this command. PYTHONPATH=$PWD/include ./build/memgraph --query-modules-directory=./query_modules/ Alternatively, you can set a symlink inside the ./query_modules to point to `include/mgp.py`, so there's no need to set PYTHONPATH. For example, assuming you are in the root of the repo, run the following. cd ./query_modules ln -s ../include/mgp.py cd .. ./build/memgraph --query-modules-directory=./query_modules/ Depends on D207 Reviewers: mferencevic, ipaljak, dsantl Reviewed By: ipaljak Subscribers: buda, tlastre, pullbot Differential Revision: https://phabricator.memgraph.io/D2708 |
||
---|---|---|
.. | ||
mg_procedure.h | ||
mg_procedure.syms | ||
mgp.py |