You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Liu Jianping (Jira)" <ji...@apache.org> on 2020/04/26 06:14:00 UTC

[jira] [Updated] (TINKERPOP-2362) Gremlin Python bytecode `with` method should add a OptionsStrategy

     [ https://issues.apache.org/jira/browse/TINKERPOP-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liu Jianping updated TINKERPOP-2362:
------------------------------------
    Description: 
 

In Bytecode mode, `with` will add a config kv pair to traversal, it should be OptionsStrategy which is code in [traversalSource.java](https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalSource.java#L116):

 

But in `gremlin-python` SDK not, which couldn't be translated in server.

```

[Static type checking] - Not authorized to call this method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.with:with([scriptEvaluationTimeout, 500000])

```

here we shoud set OptionsStrategy for configure kv pair.
 
 

  was:
 

In Bytecode mode, `with` will add a config kv pair to traversal, it should be OptionsStrategy which is code in [traversalSource.java]([https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalSource.java#L116]):

 

But in `gremlin-python` SDK not, which couldn't be translated in server.

```

[Static type checking] - Not authorized to call this method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.with:with([scriptEvaluationTimeout, 500000])

```

here we shoud set OptionsStrategy for configure kv pair.

 


> Gremlin Python bytecode `with` method should add a OptionsStrategy
> ------------------------------------------------------------------
>
>                 Key: TINKERPOP-2362
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2362
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 3.4.3
>            Reporter: Liu Jianping
>            Priority: Major
>
>  
> In Bytecode mode, `with` will add a config kv pair to traversal, it should be OptionsStrategy which is code in [traversalSource.java](https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalSource.java#L116):
>  
> But in `gremlin-python` SDK not, which couldn't be translated in server.
> ```
> [Static type checking] - Not authorized to call this method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.with:with([scriptEvaluationTimeout, 500000])
> ```
> here we shoud set OptionsStrategy for configure kv pair.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)