def process(value): if value is not None: value = _python_UUID(value) return value
def process(value): if value is not None and type(value) is not _python_UUID: value = _python_UUID(value) return value