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

Update the test_examples.py file to not use SON

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Based on this ticket: https://jira.mongodb.org/browse/DOCSP-44654, update examples 14-16 in the test_examples.py file to not use bson.son.SON and instead use dictionaries. These examples are surfaced to users in the server docs: https://www.mongodb.com/docs/manual/tutorial/query-embedded-documents/#match-an-embedded-nested-document

      Definition of done

      Update 14-16 to use dictionaries, post in #docs-server-manual when the change is made

      Pitfalls

      n/a

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            angela.shu@mongodb.com Angela Shu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: