Skip to content

Commit 1482e3b

Browse files
Type hint for result_backend in inmemory_broker (#514)
1 parent 392a02d commit 1482e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/brokers/inmemory_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __init__(
130130
await_inplace: bool = False,
131131
) -> None:
132132
super().__init__()
133-
self.result_backend = InmemoryResultBackend(
133+
self.result_backend: InmemoryResultBackend[Any] = InmemoryResultBackend(
134134
max_stored_results=max_stored_results,
135135
)
136136
self.executor = ThreadPoolExecutor(sync_tasks_pool_size)

0 commit comments

Comments
 (0)