Add more type annotations

This commit is contained in:
Nicola Soranzo
2022-06-28 18:33:04 +01:00
parent b61dde215b
commit 8c2ddf32ce
+1 -1
View File
@@ -185,7 +185,7 @@ else:
_HasTable = object
def get_uuid(uuid: Optional[Union[UUID, str]] = None):
def get_uuid(uuid: Optional[Union[UUID, str]] = None) -> UUID:
if isinstance(uuid, UUID):
return uuid
if not uuid: