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

Add examples to CRUD docstrings.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.0
    • Docs
    • None

    Description

      The legacy CRUD API didn't have to include examples. It just linked back to the MongoDB shell docs since PyMongo's API emulated the shell.

      This is no longer the case with the new CRUD API. Add repl examples to the docstrings for the new CRUD methods added in PYTHON-820 and PYTHON-821, and other methods on Database and Collection.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: