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

Deprecate UUIDLegacy class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: BSON
    • None

      In PYTHON-2152 we will add the following method to bson.binary.Binary:

      @classmethod
      def from_uuid(uuid, representation=STANDARD):pass
      

      This can replace the UUIDLegacy class because:

      UUIDLegacy(my_uuid)
      

      will be equivalent to:

      Binary.from_uuid(my_uuid, PYTHON_LEGACY)
      

      Therefore we should consider deprecating the UUIDLegacy class.

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

              Created:
              Updated:
              Resolved: