Description
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.
Attachments
Issue Links
- depends on
-
PYTHON-2152 Support Handling of Native UUID Types Specification
-
- Closed
-
- is depended on by
-
PYTHON-2529 Remove UUIDLegacy class
-
- Closed
-