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

Remove support for SON manipulators

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • None
    • Major Change

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: