Django is-instance is not working properly For UUID

15 Views Asked by At

I have UUID4 value= "2626df07-1854-4ff1-9296-fa43bc896950"

for this value am trying

import uuid
print((isinstance(value, uuid.UUID)))

Result is:- False can anyone please explain me the reason behind this. Note:-value is a proper UUId4

0

There are 0 best solutions below