| # Table of Contents |
|
|
| * [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow) |
| * [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow) |
| * [run](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run) |
| * [\_\_init\_\_](#__init__) |
|
|
| <a id="CodeFileEditAtomicFlow"></a> |
|
|
| # CodeFileEditAtomicFlow |
|
|
| <a id="CodeFileEditAtomicFlow.CodeFileEditAtomicFlow"></a> |
|
|
| ## CodeFileEditAtomicFlow Objects |
|
|
| ```python |
| class CodeFileEditAtomicFlow(AtomicFlow) |
| ``` |
|
|
| This class is used to write code to a temp code file, with commented instructions to give information |
| to the user. |
|
|
| *Input Interface*: |
| - `code`: str |
| - `language_of_code`: str |
| - `memory_files`: Dict[str, str]. Notice that the memory_files should at least contain the `code_library` entry indicating the file location of the code library. |
|
|
| *Output Interface*: |
| - `code_editor_output`: str |
| - `temp_code_file_location`: str |
|
|
| <a id="CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run"></a> |
|
|
| #### run |
|
|
| ```python |
| def run(input_data: Dict[str, Any]) |
| ``` |
|
|
| This function runs the atomic flow. |
|
|
| :param input_data (Dict[str, Any]): The input data. |
| :return: Dict[str, Any] The output data. |
| |
| |
| <a id="__init__"></a> |
| |
| # \_\_init\_\_ |
|
|
|
|