You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Var._replace documents _var_data as a replaceable field, but passing it raises because _replace already supplies _var_data (merged from the existing var) to dataclasses.replace() and the caller's keyword is passed a second time.
_replace(_var_data=...) replaces (or merges) the var data, or the signature rejects the keyword with a message that points at merge_var_data / Var.create(..., _var_data=...).
Specifics
Reflex 0.9.12a1 (reflex-base 0.9.12a1); pre-existing, identical on 0.9.11.post1
Python 3.11.15
Additional context
0.9.12a1 pre-release QA, vars_typing cluster, observation O5 in vars_typing/NOTES.md. Related: #3531 tightened the accepted _replace kwargs.
Activity
linear-code commentedon Sep 22, 2026
ENG-12650
Add news fragment for reflex-dev#7256
Fix Var._replace with _var_data (#7306)