Search code examples
memgraphdb

When developing query modules for Memgraph in Python how to get type completion?


I'd like to have type completion when developing query modules for Memgraph in Python. Is it possible to add that?


Solution

  • You should install mgp. This is PyPi package used for type hinting when creating query modules. It can bee installed using pip install mgp. The package can also be found at https://pypi.org/project/mgp/.