From ca44a5d158ef6bbdd0ca086173362c6907aceec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Mon, 29 May 2023 16:12:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20refactor:=20summarize=20error=20mes?= =?UTF-8?q?sage=20without=20line=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_gpt/options/generate/pm/pm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev_gpt/options/generate/pm/pm.py b/dev_gpt/options/generate/pm/pm.py index e1604f6..7425f08 100644 --- a/dev_gpt/options/generate/pm/pm.py +++ b/dev_gpt/options/generate/pm/pm.py @@ -71,14 +71,14 @@ Description of the microservice: 'Microservice description': microservice_description, }, conditions=[ - lambda:True + lambda _:True ], question_gen=f'Generate a question that asks for the endpoint for {api} and an example of a request and response when interacting with the API.', extension_name=f'Instructions for {api}', post_transformation_fn=translation(from_format='api instruction', to_format='python code snippet raw without formatting') ) - return microservice_description, test_description + return microservice_description, test_description @staticmethod def get_used_apis(microservice_description):