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

Add examples to CRUD docstrings.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: