Liu Jianping created TINKERPOP-2362:
---------------------------------------

             Summary: 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


 

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)

Reply via email to