Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-787

Deprecate APIs that were deprecated in PyMongo 3.12

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 2.5
    • None
    • None

    Description

      We don't re-implement anything that was deprecated in PyMongo 3.12 in Motor so we get all the deprecations for free, in a manner of speaking.

      Docstrings for some methods need to be updated with Motor specific examples as indicated by the doc build warning:

      $ python3.7 -m tox -e  py3-sphinx-docs
      ...
      PyMongo docstrings with code blocks that need update:
      motor.motor_asyncio.AsyncIOMotorDatabase.profiling_info
      motor.motor_asyncio.AsyncIOMotorDatabase.profiling_level
      motor.motor_asyncio.AsyncIOMotorDatabase.set_profiling_level
      motor.motor_tornado.MotorDatabase.profiling_info
      motor.motor_tornado.MotorDatabase.profiling_level
      motor.motor_tornado.MotorDatabase.set_profiling_level
      


      ORIGINAL DESCRIPTION

      Deprecate APIs that were deprecated in PyMongo 3.12.

      Attachments

        Issue Links

          Activity

            People

              prashant.mital Prashant Mital (Inactive)
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: