From 6863e8ce8c85fd359aef0001f19db2bda3605103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Wed, 26 Jun 2024 22:25:23 +0200 Subject: [PATCH] show the value causing problem in deprecation warning (#3558) --- reflex/vars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/vars.py b/reflex/vars.py index 93918e682..4266488d5 100644 --- a/reflex/vars.py +++ b/reflex/vars.py @@ -416,7 +416,7 @@ class Var: if _var_is_string is None and type_ is str: console.deprecate( - feature_name="Creating a Var from a string without specifying _var_is_string", + feature_name=f"Creating a Var ({value}) from a string without specifying _var_is_string", reason=( "Specify _var_is_string=False to create a Var that is not a string literal. " "In the future, creating a Var from a string will be treated as a string literal "