File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44from beanie .operators import Or , RegEx
55from fastapi import APIRouter , Depends , HTTPException
66from pika .adapters .blocking_connection import BlockingChannel
7-
7+ import aio_pika
8+ from aio_pika .abc import AbstractChannel
89from app .deps .authorization_deps import FeedAuthorization , ListenerAuthorization
910from app .keycloak_auth import get_current_user , get_current_username
1011from app .models .feeds import FeedDB , FeedIn , FeedOut
@@ -41,7 +42,7 @@ async def check_feed_listeners(
4142 es_client ,
4243 file_out : FileOut ,
4344 user : UserOut ,
44- rabbitmq_client : BlockingChannel ,
45+ rabbitmq_client : AbstractChannel ,
4546):
4647 """Automatically submit new file to listeners on feeds that fit the search criteria."""
4748 listener_ids_found = []
You can’t perform that action at this time.
0 commit comments