This is an automated email from the ASF dual-hosted git repository. andreac pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit a55ed7173b1c15b97ca9d114223b492f8e6ae9ae Merge: fec7210b5c 054aa2807b Author: Andrea Child <[email protected]> AuthorDate: Thu Oct 30 11:20:16 2025 -0700 Merge branch '3.8-dev' .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 20 ++++----- gremlin-go/driver/cucumber/gremlin.go | 20 ++++----- .../gremlin-javascript/test/cucumber/gremlin.js | 20 ++++----- gremlin-python/src/main/python/radish/gremlin.py | 20 ++++----- .../gremlin/test/features/filter/Range.feature | 49 +++++++++++----------- 5 files changed, 65 insertions(+), 64 deletions(-) diff --cc gremlin-python/src/main/python/radish/gremlin.py index 9079ba0d19,caa1db3eea..a2e4cd8444 --- a/gremlin-python/src/main/python/radish/gremlin.py +++ b/gremlin-python/src/main/python/radish/gremlin.py @@@ -547,17 -546,17 +547,17 @@@ world.gremlins = 'g_VX5X_rangeX0_1X_in_rangeX0_1X_in_valuesXnameX': [(lambda g, vid5=None:g.V(vid5).range_(0, 1).in_().range_(0, 1).in_().values('name'))], 'g_VX5X_repeatXrangeX0_1X_in_repeatXrangeX0_1X_inX_timesX1XX_timesX1X_valuesXnameX': [(lambda g, vid5=None:g.V(vid5).repeat(__.range_(0, 1).in_().repeat(__.range_(0, 1).in_()).times(1)).times(1).values('name'))], 'g_VX5X_repeatXrangeX0_1X_in_aggregateXxXX_timesX2X_capXxX': [(lambda g, vid5=None:g.V(vid5).repeat(__.range_(0, 1).in_().aggregate('x')).times(2).cap('x'))], - 'g_withoutStrategiesXEarlyLimitStrategyX_VX5X_repeatXlimitX1X_in_limitX1X_limitX1XX_timesX2X': [(lambda g, vid5=None:g.without_strategies(*[GremlinType('org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.EarlyLimitStrategy')]).V(vid5).repeat(__.limit(1).in_().limit(1).limit(1)).times(2))], + 'g_withoutStrategiesXEarlyLimitStrategyX_VX5X_repeatXlimitX1X_in_limitX1X_limitX1XX_timesX2X': [(lambda g, vid5=None:g.without_strategies(EarlyLimitStrategy).V(vid5).repeat(__.limit(1).in_().limit(1).limit(1)).times(2))], - 'g_V_repeatXout_whereXhasXnameX_limitX1XXX_timesX2X': [(lambda g:g.V().repeat(__.out().where(__.has('name').limit(1))).times(2))], - 'g_V_out_whereXhasXnameX_limitX1XX_out_whereXhasXnameX_limitX1XX': [(lambda g:g.V().out().where(__.has('name').limit(1)).out().where(__.has('name').limit(1)))], - 'g_V_hasXnameXJAMXX_repeatXoutXfollowedByX_limitX2XX_timesX2X': [(lambda g:g.V().has('name', 'JAM').repeat(__.out('followedBy').limit(2)).times(2))], - 'g_V_hasXnameXJAMXX_outXfollowedByX_limitX2X_outXfollowedByX_limitX2X': [(lambda g:g.V().has('name', 'JAM').out('followedBy').limit(2).out('followedBy').limit(2))], - 'g_V_hasXnameXDRUMSXX_repeatXinXfollowedByX_rangeX1_4XX_timesX2X': [(lambda g:g.V().has('name', 'DRUMS').repeat(__.in_('followedBy').range_(1, 4)).times(2))], - 'g_V_hasXnameXDRUMSXX_inXfollowedByX_rangeX1_4X_inXfollowedByX_rangeX1_4X': [(lambda g:g.V().has('name', 'DRUMS').in_('followedBy').range_(1, 4).in_('followedBy').range_(1, 4))], - 'g_V_chooseXvaluesXageX_isXlteX30XX_outX_limitX1X_outX_limitX2XX': [(lambda g:g.V().choose(__.values('age').is_(P.lte(30)), __.out().limit(1), __.out().limit(2)))], - 'g_V_chooseXvaluesXageX_isXlteX30XX_localXoutX_limitX1XX_localXoutX_limitX2XXX': [(lambda g:g.V().choose(__.values('age').is_(P.lte(30)), __.local(__.out().limit(1)), __.local(__.out().limit(2))))], - 'g_V_hasXnameXHEY_BO_DIDDLEYXX_unionXoutXfollowedByX_limitX2X_outXsungByX_limitX1XX_unionXoutXfollowedByX_limitX2X_outXsungByX_limitX1XX': [(lambda g:g.V().has('name', 'HEY BO DIDDLEY').union(__.out('followedBy').limit(2), __.out('sungBy').limit(1)).union(__.out('followedBy').limit(2), __.out('sungBy').limit(1)))], - 'g_V_hasXnameXHEY_BO_DIDDLEYXX_repeatXunionXoutXfollowedByX_limitX2X_outXsungByX_limitX1XXX_timesX2X': [(lambda g:g.V().has('name', 'HEY BO DIDDLEY').repeat(__.union(__.out('followedBy').limit(2), __.out('sungBy').limit(1))).times(2))], + 'g_V_repeatXout_whereXhasXnameX_order_byXnameX_limitX1XXX_timesX2X': [(lambda g:g.V().repeat(__.out().where(__.has('name').order().by('name').limit(1))).times(2))], + 'g_V_out_whereXhasXnameX_order_byXnameX_limitX1XX_out_whereXhasXnameX_order_byXnameX_limitX1XX': [(lambda g:g.V().out().where(__.has('name').order().by('name').limit(1)).out().where(__.has('name').order().by('name').limit(1)))], + 'g_V_hasXnameXJAMXX_repeatXoutXfollowedByX_order_byXnameX_limitX2XX_timesX2X': [(lambda g:g.V().has('name', 'JAM').repeat(__.out('followedBy').order().by('name').limit(2)).times(2))], + 'g_V_hasXnameXJAMXX_outXfollowedByX_order_byXnameX_limitX2X_outXfollowedByX_order_byXnameX_limitX2X': [(lambda g:g.V().has('name', 'JAM').out('followedBy').order().by('name').limit(2).out('followedBy').order().by('name').limit(2))], + 'g_V_hasXnameXDRUMSXX_repeatXinXfollowedByX_order_byXnameX_rangeX1_4XX_timesX2X': [(lambda g:g.V().has('name', 'DRUMS').repeat(__.in_('followedBy').order().by('name').range_(1, 4)).times(2))], + 'g_V_hasXnameXDRUMSXX_inXfollowedByX_order_byXnameX_rangeX1_4X_inXfollowedByX_order_byXnameX_rangeX1_4X': [(lambda g:g.V().has('name', 'DRUMS').in_('followedBy').order().by('name').range_(1, 4).in_('followedBy').order().by('name').range_(1, 4))], + 'g_V_chooseXvaluesXageX_isXlteX30XX_out_order_byXnameX_limitX1X_out_order_byXnameX_limitX2XX': [(lambda g:g.V().choose(__.values('age').is_(P.lte(30)), __.out().order().by('name').limit(1), __.out().order().by('name').limit(2)))], + 'g_V_chooseXvaluesXageX_isXlteX30XX_localXout_order_byXnameX_limitX1XX_localXout_order_byXnameX_limitX2XXX': [(lambda g:g.V().choose(__.values('age').is_(P.lte(30)), __.local(__.out().order().by('name').limit(1)), __.local(__.out().order().by('name').limit(2))))], + 'g_V_hasXnameXHEY_BO_DIDDLEYXX_unionXoutXfollowedByX_order_byXnameX_limitX2X_outXsungByX_order_byXnameX_byXnameX_limitX1XX_unionXoutXfollowedByX_order_limitX2X_outXsungByX_order_byXnameX_limitX1XX': [(lambda g:g.V().has('name', 'HEY BO DIDDLEY').union(__.out('followedBy').order().by('name').limit(2), __.out('sungBy').order().by('name').limit(1)).union(__.out('followedBy').order().by('name').limit(2), __.out('sungBy').order().by('name').limit(1)))], + 'g_V_hasXnameXHEY_BO_DIDDLEYXX_repeatXunionXoutXfollowedByX_order_byXnameX_limitX2X_outXsungByX_order_byXnameX_limitX1XXX_timesX2X': [(lambda g:g.V().has('name', 'HEY BO DIDDLEY').repeat(__.union(__.out('followedBy').order().by('name').limit(2), __.out('sungBy').order().by('name').limit(1))).times(2))], 'g_V_sampleX1X_byXageX_byXT_idX': [(lambda g:g.V().sample(1).by('age').by(T.id_))], 'g_E_sampleX1X': [(lambda g:g.E().sample(1))], 'g_E_sampleX2X_byXweightX': [(lambda g:g.E().sample(2).by('weight'))],
