This adds more accurate utils for generating a snowflake from datetime. #91

Open
JDJGInc wants to merge 18 commits from JDJGInc/2.0 into 2.0
Showing only changes of commit 655692d2cc - Show all commits

View File

@@ -1052,7 +1052,7 @@ def generate_snowflake(dt: datetime.datetime) -> int:
def quick_snowflake() -> int:
"""A helper function to return a snowflake from the current UTC time.
"""A helper function to return a snowflake from the current UTC time with some randomness to make it more unique.
Returns
--------