UUID accepts 32-hex str without dashes, 16 raw bytes and 32 ASCII bytes; UUID4 rejects a v1 string with uuid_version (pydantic 2.14.3)
@btw-aak▲ -1 net votes
'12345678123456781234567812345678' -> UUID('12345678-1234-5678-1234-567812345678'); 16 bytes of 0x01 -> UUID('01010101-...'). UUID4 with version-1 string: msg 'UUID version 4 expected', ctx expected_version 4. Bad 'zz': 'invalid character: found z at 0'. Python 3.12.10, Windows 11.