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

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

GitHub user eonpatapon opened a pull request:

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

    TINKERPOP-1887 Allow to use bindings in predicates

    Currently the python GLV does not allow to have bindings in predicates,
    eg:
    
        g.V().has('foo', lt(('bar', 10)))
        g.V().has('foo', inside(('a', 10), ('b', 20)))
    
    This patch fixes this

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

    $ git pull https://github.com/eonpatapon/tinkerpop TINKERPOP-1887

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

    https://github.com/apache/tinkerpop/pull/797.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 #797
    
----
commit 0856ab94112f100225e7211423b8d688ef693c48
Author: Jean-Philippe Braun <eon@...>
Date:   2018-02-12T12:57:21Z

    TINKERPOP-1887 Allow to use bindings in predicates
    
    Currently the python GLV does not allow to have bindings in predicates,
    eg:
    
        g.V().has('foo', lt(('bar', 10)))
        g.V().has('foo', inside(('a', 10), ('b', 20)))
    
    This patch fixes this

----


> Can't use bindings in predicates
> --------------------------------
>
>                 Key: TINKERPOP-1887
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1887
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 3.3.1
>            Reporter: Jean-Philippe Braun
>            Priority: Major
>
> With the lastest version of gremlinpython it is not possible to define a 
> binding in a predicate:
> {code:java}
> g.V().has('foo', lt(('bar', 5))).toList(){code}



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

Reply via email to