You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 1234567891011 |
- import uuid
-
-
- def is_valid_uuid(uuid_str: str | None) -> bool:
- if uuid_str is None or len(uuid_str) == 0:
- return False
- try:
- uuid.UUID(uuid_str)
- return True
- except Exception:
- return False
|