of
Wrap an existing UUID from a string value.
The provided value is parsed as a UUIDv4; if parsing fails, ValueError is thrown, which surfaces to guest code as applicable.
Return
Parameters
value
UUID string.
Wrap an existing UUID from an already-structured value.
The provided value is re-used with a full copy of internal state, since it can safely be assumed to have been checked during earlier construction.
Return
Parameters
value
Pre-validated UUID value.
See also
Wrap an existing Java-originating UUID.
The provided value is re-used with a re-materialized internal state, since Java UUIDs can be assumed to be structurally valid.
Return
Parameters
value
Java UUID.