Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4796

Update type checkers and handle with_options typing

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • 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?

      Context

      Split off from PYTHON-3992 as a first step. We should update to the latest type checkers and implement the overloads for with_options to fix their typing. Adding the type defaults is a more invasive change that might need to wait for a major release based on my initial attempt.

      Definition of done

      Update type checkers and add overloads for the with_options methods.

      Pitfalls

      None

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: