Skip to content

Commit 86914e0

Browse files
committed
use strings
1 parent a58e209 commit 86914e0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/reflex-core/src/reflex_core

packages/reflex-core/src/reflex_core/event.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,7 +2410,7 @@ def __get__(
24102410
) -> "EventCallback[Unpack[P]]": ...
24112411

24122412
@overload
2413-
def __get__(self, instance: Any, owner: Any) -> Callable[[Unpack[P]]]: ...
2413+
def __get__(self, instance: Any, owner: Any) -> "Callable[[Unpack[P]]]": ...
24142414

24152415
def __get__(self, instance: Any, owner: Any) -> Callable:
24162416
"""Get the function with the instance bound to it.
@@ -2568,9 +2568,9 @@ def __new__(
25682568
throttle: int | None = None,
25692569
debounce: int | None = None,
25702570
temporal: bool | None = None,
2571-
) -> Callable[
2572-
[Callable[[BASE_STATE, Unpack[P]], Any]], EventCallback[Unpack[P]] # pyright: ignore [reportInvalidTypeVarUse]
2573-
]: ...
2571+
) -> (
2572+
"Callable[[Callable[[BASE_STATE, Unpack[P]], Any]], EventCallback[Unpack[P]]]"
2573+
): ...
25742574

25752575
@overload
25762576
def __new__(

0 commit comments

Comments
 (0)