[ 
https://issues.apache.org/jira/browse/TINKERPOP-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928215#comment-17928215
 ] 

ASF GitHub Bot commented on TINKERPOP-2966:
-------------------------------------------

andreachild commented on code in PR #3039:
URL: https://github.com/apache/tinkerpop/pull/3039#discussion_r1960666187


##########
gremlin-python/src/main/python/radish/gremlin.py:
##########
@@ -37,48 +37,48 @@
     
'g_V_branchXlabel_eq_person__a_bX_optionXa__ageX_optionXb__langX_optionXb__nameX':
 [(lambda g, 
l1=None:g.V().branch(l1).option('a',__.age).option('b',__.lang).option('b',__.name))],
 
     
'g_V_branchXlabel_isXpersonX_countX_optionX1__ageX_optionX0__langX_optionX0__nameX':
 [(lambda g, 
xx1=None,xx2=None:g.V().branch(__.label().is_('person').count()).option(xx1,__.age).option(xx2,__.lang).option(xx2,__.name))],
 
     
'g_V_branchXlabel_isXpersonX_countX_optionX1__ageX_optionX0__langX_optionX0__nameX_optionXany__labelX':
 [(lambda g, 
xx1=None,xx2=None:g.V().branch(__.label().is_('person').count()).option(xx1,__.age).option(xx2,__.lang).option(xx2,__.name).option(Pick.any_,__.label()))],
 
-    
'g_V_branchXageX_optionXltX30X__youngX_optionXgtX30X__oldX_optionXnone__on_the_edgeX':
 [(lambda 
g:g.V().hasLabel('person').branch(__.age).option(P.lt(30),__.constant('young')).option(P.gt(30),__.constant('old')).option(Pick.none,__.constant('on
 the edge')))], 

Review Comment:
   Did you modify this file manually? I wouldn't think any of your changes 
would have caused this file to be modified (it is auto-generated).





> Change PythonTranslator to generate underscore based step naming
> ----------------------------------------------------------------
>
>                 Key: TINKERPOP-2966
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2966
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: translator
>    Affects Versions: 3.5.6
>            Reporter: Stephen Mallette
>            Priority: Minor
>
> The more idiomatic underscore based step naming was introduced a long time 
> ago but the {{PythonTranslator}}} still produces the old camelcase style.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to