You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two rules to make everything work as you expect:
@@ -42,6 +43,7 @@ from typing import Any
42
43
43
44
defget_redis_pool(request: Request) -> Any:
44
45
return request.app.state.redis_pool
46
+
45
47
```
46
48
47
49
To make it resolvable in taskiq, people should mark default fastapi dependencies (such as `Request` and `HTTPConnection`) with `TaskiqDepends`. Like this:
@@ -59,6 +61,7 @@ from taskiq import TaskiqDepends
0 commit comments