Skip to content

Commit 9435c2c

Browse files
committed
lint: fix lint issue across multiple modules
1 parent 6f9ef72 commit 9435c2c

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

app/api/logs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from app.schemas.log_schemas import (
1313
LogEntryResponse,
1414
LogListResponse,
15-
AnalysisSummaryResponse,
1615
APIResponse,
1716
)
1817
from app.services.log_service import LogService

app/core/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44
import sys
5-
from typing import Any, Dict
5+
from typing import Any
66

77
import structlog
88
from structlog.types import EventDict, Processor

app/messaging/connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
"""RabbitMQ connection management with auto-reconnect."""
22

3-
import asyncio
43
from typing import Optional
54

65
import aio_pika
7-
from aio_pika import Connection, Channel
6+
from aio_pika import Channel
87
from aio_pika.abc import AbstractRobustConnection
98
from tenacity import (
109
retry,

app/messaging/consumer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import json
55
from typing import Callable, Optional
66

7-
from aio_pika import IncomingMessage
87
from aio_pika.abc import AbstractIncomingMessage
98

109
from app.core.config import get_settings

app/messaging/publisher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ async def publish_to_recommendations(
136136
queue = await self.connection.declare_queue(
137137
self.settings.recommendation_queue, durable=True
138138
)
139+
print("queue", queue)
139140

140141
await self.connection.channel.default_exchange.publish(
141142
aio_pika.Message(
@@ -215,6 +216,8 @@ async def publish_to_alerts(
215216
self.settings.alerts_queue, durable=True
216217
)
217218

219+
print("queue", queue)
220+
218221
await self.connection.channel.default_exchange.publish(
219222
aio_pika.Message(
220223
body=json.dumps(message_payload).encode(),

app/processing/analyzer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import re
44
from collections import Counter
5-
from datetime import datetime, timedelta
65
from typing import List, Dict, Any
76

87
from app.core.config import get_settings

app/services/pattern_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""Service for pattern operations."""
22

33
from typing import List, Optional
4-
from uuid import UUID
54

65
from sqlalchemy import select
76
from sqlalchemy.ext.asyncio import AsyncSession

0 commit comments

Comments
 (0)