From e422ed9c78bb590f1abf24fedc54b311eb9589fb Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 7 Jul 2023 13:55:15 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(constants.tsx):=20fix=20inde?= =?UTF-8?q?ntation=20issue=20in=20getPythonApiCode=20function=20The=20impo?= =?UTF-8?q?rt=20statement=20for=20the=20'typing'=20module=20was=20incorrec?= =?UTF-8?q?tly=20indented,=20causing=20a=20syntax=20error.=20The=20import?= =?UTF-8?q?=20statement=20has=20been=20fixed=20to=20align=20with=20the=20c?= =?UTF-8?q?orrect=20indentation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/constants.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/constants.tsx b/src/frontend/src/constants.tsx index 8c14f919c..601b2ba23 100644 --- a/src/frontend/src/constants.tsx +++ b/src/frontend/src/constants.tsx @@ -85,7 +85,7 @@ export const getPythonApiCode = ( const tweaks = buildTweaks(flow); const inputs = buildInputs(tabsState, flow.id); return `import requests - from typing import Optional +from typing import Optional BASE_API_URL = "${window.location.protocol}//${ window.location.host