Skip to content

Commit

Permalink
remove spam logs
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Jun 28, 2024
1 parent b84d128 commit 6439d1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/repositories/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ async def parse_data(self, data: list[Detection]) -> list[Detection] | None:
return data

def detection_to_v1(self, data: list[Detection]) -> list[KafkaDetectionV1]:
logger.debug(f"received: {len(data)}")
_data = [KafkaDetectionV1(**d.model_dump()) for d in data]
logger.debug(f"received: {len(_data)}")
return _data

async def send_to_kafka(self, data: list[Detection]) -> None:
Expand Down

0 comments on commit 6439d1b

Please sign in to comment.