Upload 6 files
Browse filesFiles changed (2)
14 unmodified lines15161718192014 unmodified lines*Output Interface*:- `code_editor_output`: str- `temp_code_file_location`: str"""def _generate_content(self, code_lib_location, code_str) -> str:"""This function generates the content to be written to the temp file.14 unmodified lines151617181920212223242514 unmodified lines*Output Interface*:- `code_editor_output`: str- `temp_code_file_location`: str*Configuration Parameters*:- `input_interface`: The input interface of the atomic flow.- `output_interface`: The output interface of the atomic flow."""def _generate_content(self, code_lib_location, code_str) -> str:"""This function generates the content to be written to the temp file.
2 unmodified lines34567814 unmodified lines2324252627282930313233348 unmodified lines4344454647482 unmodified lines* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow)* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow)* [run](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run)* [\_\_init\_\_](#__init__)<a id="CodeFileEditAtomicFlow"></a>14 unmodified lines*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>#### run8 unmodified lines:return: Dict[str, Any] The output data.<a id="__init__"></a># \_\_init\_\_2 unmodified lines345678914 unmodified lines242526272829303132333435363738398 unmodified lines484950515253545556572 unmodified lines* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow)* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow)* [run](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run)* [run](#run)* [\_\_init\_\_](#__init__)<a id="CodeFileEditAtomicFlow"></a>14 unmodified lines*Input Interface*:- `code`: str- `language_of_code`: str- `memory_files`: Dict[str, str]*Output Interface*:- `code_editor_output`: str- `temp_code_file_location`: str*Configuration Parameters*:- `input_interface`: The input interface of the atomic flow.- `output_interface`: The output interface of the atomic flow.<a id="CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run"></a>#### run8 unmodified lines:return: Dict[str, Any] The output data.<a id="run"></a># run<a id="__init__"></a># \_\_init\_\_
CodeFileEditAtomicFlow.py+5
README.md+10-1