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

Add examples and documentation for new UUID behavior

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.11
    • None
    • Docs
    • None

    Description

      We should an FAQ entry as well as a full example page that documents the new UUID behavior (and how this behavior is going to change in PyMongo 4.0). Specifically, we need to document:

      • The behavior of the UNSPECIFIED UuidRepresentation. This should be accompanied by an example of how a user can manually coerce a subtype 3 or 4 Binary value returned by PyMongo to a native UUID.
      • The new default value of UuidRepresentation that will be used starting in PyMongo 4.0.
      • How the behavior of existing UuidRepresentations will change between PyMongo 3.x to PyMongo 4.0.

      Attachments

        Activity

          People

            prashant.mital Prashant Mital (Inactive)
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: