Skip to content

Commit b542393

Browse files
committed
add get config import
1 parent 47398be commit b542393

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

reflex/state.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ def _init_var(cls, prop: Var):
10131013
Raises:
10141014
VarTypeError: if the variable has an incorrect type
10151015
"""
1016+
from reflex.config import get_config
10161017
from reflex.utils.exceptions import VarTypeError
10171018

10181019
if not types.is_valid_var_type(prop._var_type):

0 commit comments

Comments
 (0)