Skip to content

Commit 9259729

Browse files
committed
QueryOptions is Callable
1 parent f73c6d9 commit 9259729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_idom/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def use_websocket() -> IdomWebsocket:
7575

7676

7777
def use_query(
78-
query: Callable[_Params, _Result | None] | QueryOptions,
78+
query: Callable[_Params, _Result | None],
7979
*args: _Params.args,
8080
**kwargs: _Params.kwargs,
8181
) -> Query[_Result | None]:

0 commit comments

Comments
 (0)