From 0c8f1581aea2dbe6c98792e4fcb8e25ce5e8ac63 Mon Sep 17 00:00:00 2001 From: Elijah Date: Thu, 12 Dec 2024 11:06:04 +0000 Subject: [PATCH] darglint fix --- reflex/state.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reflex/state.py b/reflex/state.py index 1eb33b122..e49c4fc7d 100644 --- a/reflex/state.py +++ b/reflex/state.py @@ -3494,6 +3494,12 @@ class StateManagerRedis(StateManager): Args: lock_warning_threshold: The lock warning threshold. values: The validated attributes. + + Returns: + The lock warning threshold. + + Raises: + InvalidLockWarningThresholdError: If the lock warning threshold is invalid. """ if lock_warning_threshold >= (lock_expiration := values["lock_expiration"]): raise InvalidLockWarningThresholdError(