TINKERPOP-2527 Python->Groovy Translator#1399
Conversation
|
I just pushed a commit on this branch to do two basic things:
Note that in doing so I noticed there was a failure on this test which made me change the assertion: I'm not sure exactly what happened there. Perhaps you could have a look to see if you're ok with that? Lastly, I don't think we need to do it for this PR but I hope we can find a way to leverage our gherkin tests somehow to test translators here just as we do on the the JVM. This does look well tested however, so I'm good with how this is shaping up. We can save more advanced testing for later. |
|
Thanks for the review and the additional work. All looks great. |
|
@krlawrence now that documentation is generating on Do you have a minute to add that? If you do, be sure to pull in my changes from this branch before you add your example. |
https://issues.apache.org/jira/browse/TINKERPOP-2527
This code adds a Translator class to the Python client that will convert traversals back to Gremlin Groovy. I also included 100 or so unit tests. I have tried to cover bot step instructions and source instructions so things like strategies as well as basic Gremlin steps should get converted. This has been a common ask from Python users for a few use cases including