🐛 fix(constants.tsx): fix indentation issue in getPythonApiCode function

The import statement for the 'typing' module was incorrectly indented, causing a syntax error. The import statement has been fixed to align with the correct indentation.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-07 13:55:15 -03:00
commit e422ed9c78

View file

@ -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