fix elif after return
This commit is contained in:
@ -35,7 +35,7 @@ class UUID(TypeDecorator): # pragma nocover
|
|||||||
) -> Optional[str]:
|
) -> Optional[str]:
|
||||||
if value is None:
|
if value is None:
|
||||||
return value
|
return value
|
||||||
elif not isinstance(value, uuid.UUID):
|
if not isinstance(value, uuid.UUID):
|
||||||
value = self._cast_to_uuid(value)
|
value = self._cast_to_uuid(value)
|
||||||
return "%.32x" % value.int
|
return "%.32x" % value.int
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user