fix(frontend): Export python code as string (#1339)

This commit is contained in:
Ádám Kovács
2023-03-31 11:09:53 +02:00
committed by GitHub
parent dfd2abc764
commit 2779891411
7 changed files with 90 additions and 74 deletions
@@ -0,0 +1,10 @@
export default `import os
# flow is considered recovered and a success unless an exception is raised
def main(message: str, name: str):
flow_id = os.environ.get("WM_FLOW_JOB_ID")
print("message", message)
print("name", name)
return message, flow_id`