TINKERPOP-3017 Added AnonymousTraversalSource.with()#2366
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2366 +/- ##
============================================
+ Coverage 76.17% 76.51% +0.33%
- Complexity 13118 13127 +9
============================================
Files 1083 1058 -25
Lines 65001 61064 -3937
Branches 7259 7259
============================================
- Hits 49517 46725 -2792
+ Misses 12788 11840 -948
+ Partials 2696 2499 -197 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9c526f2 to
6f6b883
Compare
|
This change makes sense to me for Java as there is no clashing of parameter types between the remote and embedded versions so this is a nice change. However, it looks a bit odd for Python since it is renamed to with_. VOTE +1 |
the underscore is basically part of the whole Gremlin language for python though: https://tinkerpop.apache.org/docs/current/reference/#gremlin-python-differences |
6f6b883 to
133eb47
Compare
Replaces withEmbedded() and withRemote() and removes the long deprecated withGraph(). A single unified with() removes the need to check the object being given to the AnonymousTraversalSource to decide which method to use. Can't remember why that split was used in the first place. This should make it easier to explain how to use the AnonymousTraversalSource in the first place, requires a bit less typing and simply streamlines the API.
|
VOTE +1 |
https://issues.apache.org/jira/browse/TINKERPOP-3017
Replaces
withEmbedded()andwithRemote()and removes the long deprecatedwithGraph(). A single unified with() removes the need to check the object being given to theAnonymousTraversalSourceto decide which method to use. Can't remember why that split was used in the first place. This should make it easier to explain how to use theAnonymousTraversalSourcein the first place, requires a bit less typing and simply streamlines the API.VOTE +1