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

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

xiazcy commented on code in PR #3024:
URL: https://github.com/apache/tinkerpop/pull/3024#discussion_r1947320141


##########
gremlin-python/src/main/python/gremlin_python/process/graph_traversal.py:
##########
@@ -1469,6 +1473,10 @@ def min_(cls, *args):
     def none(cls, *args):
         return cls.graph_traversal(None, None, GremlinLang()).none(*args)
 
+    @classmethod
+    def none(cls, *args):

Review Comment:
   This looks like a copy error that should be removed, it's also adding 
`Bytecode()`.





> Better consistency for none()/discard() usage
> ---------------------------------------------
>
>                 Key: TINKERPOP-3130
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3130
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language, process
>    Affects Versions: 3.7.3
>            Reporter: Stephen Mallette
>            Priority: Minor
>
> {{g.V().none().path()}} should work and does so in the console, but the 
> grammar fails to parse it because it treats {{none()}} in a special way.



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

Reply via email to