🐛 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:
parent
512b499915
commit
e422ed9c78
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ export const getPythonApiCode = (
|
||||||
const tweaks = buildTweaks(flow);
|
const tweaks = buildTweaks(flow);
|
||||||
const inputs = buildInputs(tabsState, flow.id);
|
const inputs = buildInputs(tabsState, flow.id);
|
||||||
return `import requests
|
return `import requests
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
BASE_API_URL = "${window.location.protocol}//${
|
BASE_API_URL = "${window.location.protocol}//${
|
||||||
window.location.host
|
window.location.host
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue