Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fastapi_cachex/state/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ async def create_state(
Returns:
The generated state string

Raises:
StateDataError: If backend storage fails
Notes:
Exceptions raised by the configured backend propagate unchanged.
"""
# Generate a random state string (32 bytes = 256 bits of entropy)
state = secrets.token_urlsafe(32)
Expand Down