Received from [email protected] on Wed, Oct 28, 2015 at 12:52:40PM EDT: > Hi. > > We are using orientdb via pyorient library (so with binary protocol). I am > able to run regular gremlin scripts and get a response. But I cannot figure > out how to define custom steps to be used in my script. Is there a good way > to do it for each call? What about storing them server-side?
Hi, Leonid. If you define the custom step in one Gremlin script, you should be able to use it in subsequent scripts executed via the same client instance. See https://gist.github.com/lebedov/6b0512723c1d28d7748a for an example (which works against the latest code in the develop branch of pyorient on GitHub and OrientDB 2.1.4). -- Lev Givon Bionet Group | Neurokernel Project http://lebedov.github.io/ http://neurokernel.github.io/ -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
