Skip to content

Commit 1b39a5a

Browse files
fix: more cached type hints (#6161)
* fix: more cached type hints * ruffing
1 parent 92633fb commit 1b39a5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reflex/state.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import re
1515
import sys
1616
import time
17-
import typing
1817
import uuid
1918
import warnings
2019
from collections.abc import AsyncIterator, Callable, Iterator, Sequence
@@ -1892,7 +1891,7 @@ async def _process_event(
18921891
fn = functools.partial(handler.fn, state)
18931892

18941893
try:
1895-
type_hints = typing.get_type_hints(handler.fn)
1894+
type_hints = types.get_type_hints(handler.fn)
18961895
except Exception:
18971896
type_hints = {}
18981897

0 commit comments

Comments
 (0)