[ https://issues.apache.org/jira/browse/TINKERPOP-3130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925030#comment-17925030 ]
ASF GitHub Bot commented on TINKERPOP-3130: ------------------------------------------- andreachild commented on code in PR #3023: URL: https://github.com/apache/tinkerpop/pull/3023#discussion_r1947195327 ########## gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/PythonTranslatorTest.java: ########## @@ -61,6 +60,13 @@ public void shouldTranslateOption() { assertEquals("g.V().has('person','name','marko')", gremlinAsPython); } + @Test + public void shouldTranslateValues() { Review Comment: Did you mean to also add a test for `none()` translation? ``` @Test public void shouldTranslateNone() { final String gremlinAsPython = translator.translate( g.V().none().asAdmin().getBytecode()).getScript(); assertEquals("g.V().none()", gremlinAsPython); } ``` > 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)