right now I am trying to use python to implement some gremlin logic for neptunedb of aws. I want to check if one edge exist or not, if exist, ignore, otherwise add the edge.
for gremlin console, we can do it like this:
g.V().has('people','name', 'somebody').as('v').V().has('software','name','ripple').coalesce(__.inE('Created').where(outV().as('v')), addE('created').from('v').property('weight',0.5))
but I kind of lost how to convert this to python. It seems python cannot recoginize as('v')? any hints? or where can i find reference documentation for gremlin python.