You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Lyndon Bauto (Jira)" <ji...@apache.org> on 2022/03/23 17:23:00 UTC
[jira] [Resolved] (TINKERPOP-2725) Traversal Strategy Mix Up In Gremlin-Python
[ https://issues.apache.org/jira/browse/TINKERPOP-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lyndon Bauto resolved TINKERPOP-2725.
-------------------------------------
Fix Version/s: 3.6.0
Resolution: Fixed
> Traversal Strategy Mix Up In Gremlin-Python
> -------------------------------------------
>
> Key: TINKERPOP-2725
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2725
> Project: TinkerPop
> Issue Type: Improvement
> Components: python
> Affects Versions: 3.6.0, 3.5.2
> Reporter: Lyndon Bauto
> Priority: Major
> Fix For: 3.6.0, 3.5.3
>
>
> The following is in the Gremlin Python driver:
> {code:python}
> class ByModulatorOptimizationStrategy(TraversalStrategy):
> def __init__(self):
> TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.CountStrategy")
> class CountStrategy(TraversalStrategy):
> def __init__(self):
> TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ByModulatorOptimizationStrategy"){code}
> {{ The strategies are backwards for their respective class.}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)