From 8f8850865214def9b376f82dfed52a05e7be8456 Mon Sep 17 00:00:00 2001 From: Pastukhov Nikita Date: Fri, 31 May 2024 10:10:32 +0300 Subject: [PATCH] docs: fix serialization page code example tabulation (#184) --- docs/serialization.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/serialization.md b/docs/serialization.md index adfbefcb..a6aa417b 100644 --- a/docs/serialization.md +++ b/docs/serialization.md @@ -71,10 +71,10 @@ from kstreams import middleware, ConsumerRecord @stream_engine.stream(topic, middlewares=[middleware.Middleware(JsonDeserializerMiddleware)]) - async def hello_stream(cr: ConsumerRecord): - # remember event.value is now a dict - print(cr.value["message"]) - save_to_db(cr) +async def hello_stream(cr: ConsumerRecord): + # remember event.value is now a dict + print(cr.value["message"]) + save_to_db(cr) ``` ```python