diff --git a/reflex/vars/base.py b/reflex/vars/base.py index d794528b7..d3c7186b1 100644 --- a/reflex/vars/base.py +++ b/reflex/vars/base.py @@ -358,7 +358,7 @@ class Var(Generic[VAR_TYPE]): _default_var_type: ClassVar[GenericType] = python_types[0] - ToVarOperation.__name__ = f"To{cls.__name__.removesuffix("Var")}Operation" + ToVarOperation.__name__ = f'To{cls.__name__.removesuffix("Var")}Operation' _var_subclasses.append(VarSubclassEntry(cls, ToVarOperation, python_types))