File size: 1,317 Bytes
dc1a80a 784d61e dc1a80a 784d61e dc1a80a 784d61e dc1a80a d3755e3 dc1a80a d3755e3 dc1a80a 784d61e dc1a80a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# Table of Contents
* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow)
* [CodeFileEditAtomicFlow](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow)
* [run](#CodeFileEditAtomicFlow.CodeFileEditAtomicFlow.run)
* [run](#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]
*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>
#### run
```python
def run(input_data: Dict[str, Any])
```
This function runs the atomic flow.
**Arguments**:
- `input_data` (`Dict[str, Any]`): The input data.
**Returns**:
`Dict[str, Any]`: The output data containing code editor output and temporary file location.
<a id="run"></a>
# run
<a id="__init__"></a>
# \_\_init\_\_
|