Skip to content

Add uuid7_str helper and improve uuid7 fallback #3019

New issue

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

slopisgood
Copy link

@slopisgood slopisgood commented Aug 7, 2025

Adds uuid7_str helper returning string version of UUID v7. Updates uuid7() to use uuid_utils when available, fallback to Python's uuid.uuid7 or uuid.uuid4. Updates docs and all.


Important

Add uuid7_str helper and improve uuid7 fallback strategy in util.py.

  • Functions:
    • Add uuid7_str() in util.py to return string representation of UUID v7.
    • Update uuid7() in util.py to use uuid_utils if available, fallback to uuid.uuid7 for Python ≥3.12, or uuid.uuid4 otherwise.
  • Documentation:
    • Update module docstring in util.py to describe UUID generation strategy.
  • Exports:
    • Add uuid7_str to __all__ in util.py.

This description was created by Ellipsis for 906324d. You can customize this summary. It will automatically update as commits are pushed.

Adds uuid7_str helper returning string version of UUID v7. Updates uuid7() to use uuid_utils when available, fallback to Python's uuid.uuid7 or uuid.uuid4. Updates docs and __all__.
Copy link
Contributor

github-actions bot commented Aug 7, 2025


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the Contributor License Agreement (CLA) and hereby sign the CLA.


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@GabrielBianconi
Copy link
Member

Hi @slopisgood - could you please accept the license/CLA before we review? Thanks

@GabrielBianconi GabrielBianconi marked this pull request as draft August 9, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants