
* allow for event handlers to ignore args * use a constant * dang it darglint * forgor * keep the tests but move them to valid place
16 lines
294 B
Python
16 lines
294 B
Python
"""State-related constants."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class StateManagerMode(str, Enum):
|
|
"""State manager constants."""
|
|
|
|
DISK = "disk"
|
|
MEMORY = "memory"
|
|
REDIS = "redis"
|
|
|
|
|
|
# Used for things like console_log, etc.
|
|
FRONTEND_EVENT_STATE = "__reflex_internal_frontend_event_state"
|