Update ExecuteCodeAtomicFlow.py
Browse files- ExecuteCodeAtomicFlow.py +1 -1
ExecuteCodeAtomicFlow.py
CHANGED
|
@@ -7,7 +7,7 @@ from flow_modules.aiflows.InterpreterFlowModule import InterpreterAtomicFlow
|
|
| 7 |
|
| 8 |
class ExecuteCodeAtomicFlow(InterpreterAtomicFlow):
|
| 9 |
"""This class inherits from InterpreterAtomicFlow and is used to execute code in a file.
|
| 10 |
-
It opens up the file in VSCode and waits for the user to save the file. Once the file is saved, it reads the code
|
| 11 |
from the file and executes it. It then returns the output of the execution.
|
| 12 |
|
| 13 |
*Input Interface*:
|
|
|
|
| 7 |
|
| 8 |
class ExecuteCodeAtomicFlow(InterpreterAtomicFlow):
|
| 9 |
"""This class inherits from InterpreterAtomicFlow and is used to execute code in a file.
|
| 10 |
+
It opens up the file in VSCode and waits for the user to save and close the file. Once the file is saved and closed, it reads the code
|
| 11 |
from the file and executes it. It then returns the output of the execution.
|
| 12 |
|
| 13 |
*Input Interface*:
|