Why do you update Simple Example to use simplified type definitions in schema?

Moved from GitHub pydgraph/96

Posted by Li-Siyuan:

In my test the code in “pydgraph/examples/simple/simple.py” is not valid:


It doesn’t run correctly until I change it back like this:

does it have other use to update Simple Example to use simplified type definitions in schema?

SoaringTiger commented :

I have the same issue.

martinmr commented :

Sorry, there’s a coming change in Dgraph that will simplify type definitions but has not been released yet. It looks like the documentation was updated before the new version of dgraph was released.

martinmr commented :

I’ll see if I can revert the changes and merge them back when the new version is ready.