Is it possible to construct a query in parts and run in gremlin python. some thing like this -
q="hasLabel('foo')"
m="has('type','goo')"
g.V().q.m.values('ABC').toList()
instead of directly running
g.V().hasLabel('foo').has('type','goo').values('ABC').toList()
I tried this and i am getting - [] whereas it is producing results for
g.V().hasLabel('foo').has('type','goo').values('ABC').toList()
Is there any way to construct such a query?