tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-1921) Support hasNext terminal step in GLVs
Date Fri, 07 Sep 2018 17:33:00 GMT

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

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

GitHub user spmallette opened a pull request:

    https://github.com/apache/tinkerpop/pull/927

    TINKERPOP-1921 Added hasNext() in gremlin-python

    https://issues.apache.org/jira/browse/TINKERPOP-1921
    
    Adds `hasNext()` to gremlin-python - pretty self explanatory. Would be nice to get the
rest of the GLVs done too. Also fixed some PEP8 formatting nags.
    
    Builds with `mvn clean install -pl gremlin-python`
    
    VOTE +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1921

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/927.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #927
    
----
commit 9dbd2d28b624ae262b359a7320fdcb5d7b207476
Author: Stephen Mallette <spmva@...>
Date:   2018-09-07T17:23:36Z

    TINKERPOP-1921 Added hasNext() in gremlin-python

----


> Support hasNext terminal step in GLVs
> -------------------------------------
>
>                 Key: TINKERPOP-1921
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1921
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet, javascript, python
>    Affects Versions: 3.2.7
>            Reporter: Florian Hockmann
>            Priority: Major
>
> The GLVs don't have the {{hasNext}} terminal step which is very useful to check whether
an element exists in the graph or not. Without this step, users have to write workarounds
like {{limit(1).count().next()}} and check the returned count.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message