Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2725

Traversal Strategy Mix Up In Gremlin-Python

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.2
    • 3.6.0, 3.5.3
    • python
    • None

    Description

      The following is in the Gremlin Python driver:

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

       The strategies are backwards for their respective class.

      Attachments

        Activity

          People

            lyndonb Lyndon Bauto
            lyndonb Lyndon Bauto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: