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

Stephen Mallette commented on TINKERPOP-2362:
---------------------------------------------

Adding {{OptionsStrategy}} doesn't really help without TINKERPOP-2296. This 
issue feels like a bit of duplicate of that one in my opinion.

> 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)

Reply via email to