Execute pydrgraph query using flask environment

Hey everyone, does anyone know how to execute pydrgraph query using flask environment?

Hi @longShot,

You should be able to use pydgraph client from your flask application. Create a dgraph instance on your machine, add a dependency of pydgraph to your project (may be add it to requirements.txt etc.) and then you can follow the usage code snippets here : GitHub - dgraph-io/pydgraph: Official Dgraph Python client

Please do ask you are facing any problems or have specific questions regarding usage. Please mark this as resolved if it answers your question.

FastAPI is another option