def to_python(self, value):
        if isinstance(value, self._coerce_to) or not value:
            return value
        return self._coerce_to(value)
Return a UUID object.
dataset/ETHPy150Open lukesneeringer/django-pgfields/django_pg/models/fields/uuid.py/UUIDField.to_python