From 7dfc816280fbef394b10b075bb6fca2161962c9a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Jan 2026 13:02:15 +0000 Subject: [PATCH] style: fix Black formatting in encoder_block.py - Add blank line after class docstring before nested class - Reformat test_input dict for proper line length --- autogpt_platform/backend/backend/blocks/encoder_block.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/autogpt_platform/backend/backend/blocks/encoder_block.py b/autogpt_platform/backend/backend/blocks/encoder_block.py index d16125a36e..3289c94628 100644 --- a/autogpt_platform/backend/backend/blocks/encoder_block.py +++ b/autogpt_platform/backend/backend/blocks/encoder_block.py @@ -20,6 +20,7 @@ class TextEncoderBlock(Block): special characters (like newlines, tabs, etc.) and converts them into their escape sequence representations (e.g., newline becomes \\n). """ + class Input(BlockSchemaInput): """Input schema for TextEncoderBlock.""" @@ -42,9 +43,11 @@ class TextEncoderBlock(Block): categories={BlockCategory.TEXT}, input_schema=TextEncoderBlock.Input, output_schema=TextEncoderBlock.Output, - test_input={"text": """Hello + test_input={ + "text": """Hello World! -This is a "quoted" string."""}, +This is a "quoted" string.""" + }, test_output=[ ( "encoded_text",