Move cursor execution logic into cursor class

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 4.18.0
    • Affects Version/s: None
    • Component/s: None
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      In PYTHON-1357 we reduced duplication between Cursor and CommandCursor. In PYTHON-5676 we are consolidating the command execution logic, which takes some of the logic out of Server.run_operation. Ideally the run_operation logic would be self-contained in the Cursor class, and call out to network.py for the low-level execution and telemetry portion.

      Definition of done

      Consolidate run_operation logic.

      Pitfalls

      Ensure that all tests still pass.

            Assignee:
            Alex Clark
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: