feat(uuid): enhance UUID validation to check for empty strings

feat/tool-plugin-oauth
Harry 7 months ago
parent f9f3c207f4
commit 5db388716b

@ -2,7 +2,7 @@ import uuid
def is_valid_uuid(uuid_str: str | None) -> bool:
if uuid_str is None:
if uuid_str is None or len(uuid_str) == 0:
return False
try:

Loading…
Cancel
Save