update_forward_refs -> model_rebuild
This commit is contained in:
parent
45cb36f59a
commit
b65c34b212
@ -10,7 +10,7 @@ from reflex.utils import format
|
|||||||
from reflex.utils.imports import ImportVar
|
from reflex.utils.imports import ImportVar
|
||||||
from reflex.vars import BaseVar, Var, VarData
|
from reflex.vars import BaseVar, Var, VarData
|
||||||
|
|
||||||
VarData.update_forward_refs() # Ensure all type definitions are resolved
|
VarData.model_rebuild(force=True) # Ensure all type definitions are resolved
|
||||||
|
|
||||||
LIGHT_COLOR_MODE: str = "light"
|
LIGHT_COLOR_MODE: str = "light"
|
||||||
DARK_COLOR_MODE: str = "dark"
|
DARK_COLOR_MODE: str = "dark"
|
||||||
|
Loading…
Reference in New Issue
Block a user