Skip to content

Commit 38d4ce5

Browse files
committed
fix decorator message
1 parent 16a3fc2 commit 38d4ce5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reflex/utils/decorator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ def cached_procedure(
101101
cache_file_path: Callable[[], Path],
102102
payload_fn: Callable[P, str],
103103
) -> Callable[[Callable[P, Picklable]], Callable[P, Picklable]]:
104-
"""Decorator to cache the runs of a procedure on disk. Procedures should not have
105-
a return value.
104+
"""Decorator to cache the result of a function based on its arguments.
106105
107106
Args:
108107
cache_file_path: Function that computes the cache file path.

0 commit comments

Comments
 (0)