Description
When there are more than two elements in 'within', the query return an TypeError. The same query is working as expected with gremlin console:
> g.E().hasLabel(within('nephew', 'uncle', 'cousin')).drop().toList()
Gave the error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-63-074429099c0c> in <module> ---->
1 g.E().hasLabel(within('nepheu', 'uncle', 'cousin')).drop().toList()
2 #g.E().hasLabel('neveu').drop().toList()
3 #g.E().hasLabel('oncle').drop().toList()
4 #g.E().hasLabel('cousin').drop().toList()
~/.local/lib/python3.7/site-packages/gremlin_python/process/traversal.py in within(*args)
316
317 def within(*args): -->
318 return P.within(*args)
319 statics.add_static('within',within)
320 ~/.local/lib/python3.7/site-packages/gremlin_python/process/traversal.py in within(*args)
253 @staticmethod
254 def within(*args): -->
255 return P("within", *args)
256
257 @staticmethod
TypeError: _init_() takes from 3 to 4 positional arguments but 5 were given
Attachments
Issue Links
- links to