Fix for Python 3.9, refs #1099

This commit is contained in:
Simon Willison 2025-05-26 19:54:57 -07:00
parent 1dc7a1d1f9
commit eafe141d49

View file

@ -683,7 +683,7 @@ TIMESTAMP_LEN = 6
RANDOMNESS_LEN = 10
_lock: Final = threading.Lock()
_last: bytes | None = None # 16-byte last produced ULID
_last: Optional[bytes] = None # 16-byte last produced ULID
def monotonic_ulid() -> ULID: