The example in the readme isn’t working for you? GitHub - dgraph-io/pydgraph: Official Dgraph Python client pay attention that in order to run a mutation you have to have a well defined Schema Definition. Please read this link https://dgraph.io/docs/query-language/type-system/#type-definition