-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with simple.py
example code
#94
Comments
Ok, it looks like types are indeed required - that this was a breaking change explained in https://blog.dgraph.io/post/release-v1.1.0/ - I'll also assume that the most recent script version in |
@campoy This is early evaluation, so take all this with a grain of salt - but I saw that you were on some threads (particularly hypermodeinc/dgraph#4085) around types and developer expectations, and I just wanted to note the behaviour here (not being able to delete a node without a type specified) as a slightly confusing developer experience for me and at least one other (ref: #91). Totally understand that the dgraph team is iterating quickly through the type system at the moment and that things will evolve. If I've missed any upcoming features/changes that modify this, my bad. Some naive initial thoughts:
Again, this is early into my understanding of dgraph (which looks great in many other regards) so I may see things a bit differently after properly understanding the principles, but I figured it was worth mentioning as I'd imagine others may experience the same. |
Hi there,
I'm evaluating
dgraph
for a Python environment and trying out the examplesimple.py
script inpydgraph
. Unfortunately I'm not finding expected behaviour so far.Here's what I've found:
Steps to reproduce:
Results (
pydgraph==2.0.2
):Bob is not deleted.
Results (
pydgraph==master@2e3b821
):Expected results:
Script runs to completion, and user 'Bob' is deleted.
It looks like some of these problems may be related to the type system which is being introduced. Are types required for
dgraph==1.1.0
andpydgraph==2.0.2
to perform a successful delete operation?The text was updated successfully, but these errors were encountered: