We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
balena-sdk-python/balena/utils.py
Lines 28 to 41 in b220606
Not all strings of length 32 or 64 are valid UUIDs, see https://en.wikipedia.org/wiki/Universally_unique_identifier
A common way to check for the UUID validity seems to be something like
from uuid import UUID try: UUID(uuid_to_test) except ValueError: return False return True
Originally posted by @pranasziaukas in #326 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
balena-sdk-python/balena/utils.py
Lines 28 to 41 in b220606
Not all strings of length 32 or 64 are valid UUIDs, see https://en.wikipedia.org/wiki/Universally_unique_identifier
A common way to check for the UUID validity seems to be something like
Originally posted by @pranasziaukas in #326 (comment)
The text was updated successfully, but these errors were encountered: