Adding multiple vertices, changing one property-value (tinkerpop3 + python GLV)
问题 I'm trying to size down my code, but I need several instances of data of this type: g.addV('A').property('a-type','thing-x').property('a-value',1).next() g.addV('A').property('a-type','thing-x').property('a-value',2).next() ... g.addV('A').property('a-type','thing-x').property('a-value',n).next() Up to 'a-value' being n (for instance 50). # I tried a version of a loop I found here # https://stackoverflow.com/questions/40907529/create-multiple-edges-having-vertex-id-number-0-to-49 # g.inject(