Skip to content

Commit 1c78196

Browse files
authored
Fix computed var dep tracking error message (#6039)
The prop for static deps is actually `deps` not `static_deps`.
1 parent 88488b1 commit 1c78196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/vars/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2455,7 +2455,7 @@ def _deps(
24552455
console.warn(
24562456
"Failed to automatically determine dependencies for computed var "
24572457
f"{objclass.__name__}.{self._name}: {e}. "
2458-
"Provide static_deps and set auto_deps=False to suppress this warning."
2458+
"Set auto_deps=False and provide accurate deps=['var1', 'var2'] to suppress this warning."
24592459
)
24602460
return d
24612461

0 commit comments

Comments
 (0)