From b1a0ce4a2d674e7a5e8145eb2bac0d600a240309 Mon Sep 17 00:00:00 2001 From: Anton Agestam Date: Fri, 26 Jan 2024 12:53:39 +0100 Subject: [PATCH] Remove unused assignment --- karapace/kafka_rest_apis/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/karapace/kafka_rest_apis/__init__.py b/karapace/kafka_rest_apis/__init__.py index 54929bdf1..041100d77 100644 --- a/karapace/kafka_rest_apis/__init__.py +++ b/karapace/kafka_rest_apis/__init__.py @@ -683,7 +683,6 @@ async def publish(self, topic: str, partition_id: Optional[str], content_type: s await self.validate_publish_request_format(data, formats, content_type, topic) status = HTTPStatus.OK ser_format = formats["embedded_format"] - prepared_records = [] try: prepared_records = await self._prepare_records( content_type=content_type,