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

Remove support for SON manipulators

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change

      SON manipulators were deprecated in PyMongo 3.0. They are not supported in the new CRUD API, only in the deprecated write methods (insert, update, remove, find_and_modify - which will also be removed in PyMongo 4.0).

      The work required includes:

      • Remove doc/examples/custom_type.rst
      • Remove Database.add_son_manipulator
      • Remove the Database methods incoming_manipulators, incoming_copy_manipulators, outgoing_manipulators, outgoing_copy_manipulators.
      • Remove pymongo/son_manipulator.py
      • Remove the "manipulate" parameter from query methods like find and find_one.
      • Remove all internal machinery related to SON manipulators.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: