Replies: 1 comment
-
I figured it out. I was using As everything is using the async version, the cardinality has to as well. The following code works now.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just started using neomodel and I've been going over the Relationships documentation. I played around with the examples given (both sync and async, and converting sync examples to async to see that it all still works) and thought I understood it enough. However, trying to apply it using the model below produces an ambiguous error.
How come this code:
Produces
TypeError: Bad source for traversal: <class '__main__.User'>
:What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions