Lyndon Bauto created TINKERPOP-2725:
---------------------------------------

             Summary: 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.5.2
            Reporter: Lyndon Bauto
             Fix For: 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)

Reply via email to