formatting the comment stype in run/codefileeditatomicflow.py
Browse files- CodeFileEditAtomicFlow.py +5 -2
- README.md +6 -2
CodeFileEditAtomicFlow.py
CHANGED
|
@@ -98,8 +98,11 @@ class CodeFileEditAtomicFlow(AtomicFlow):
|
|
| 98 |
input_data: Dict[str, Any]
|
| 99 |
):
|
| 100 |
"""This function runs the atomic flow.
|
| 101 |
-
|
| 102 |
-
:
|
|
|
|
|
|
|
|
|
|
| 103 |
"""
|
| 104 |
self._check_input(input_data)
|
| 105 |
|
|
|
|
| 98 |
input_data: Dict[str, Any]
|
| 99 |
):
|
| 100 |
"""This function runs the atomic flow.
|
| 101 |
+
|
| 102 |
+
:param input_data: The input data.
|
| 103 |
+
:type input_data: Dict[str, Any]
|
| 104 |
+
:return: The output data containing code editor output and temporary file location.
|
| 105 |
+
:rtype: Dict[str, Any]
|
| 106 |
"""
|
| 107 |
self._check_input(input_data)
|
| 108 |
|
README.md
CHANGED
|
@@ -44,9 +44,13 @@ def run(input_data: Dict[str, Any])
|
|
| 44 |
|
| 45 |
This function runs the atomic flow.
|
| 46 |
|
| 47 |
-
|
| 48 |
-
:return: Dict[str, Any] The output data.
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
<a id="run"></a>
|
| 52 |
|
|
|
|
| 44 |
|
| 45 |
This function runs the atomic flow.
|
| 46 |
|
| 47 |
+
**Arguments**:
|
|
|
|
| 48 |
|
| 49 |
+
- `input_data` (`Dict[str, Any]`): The input data.
|
| 50 |
+
|
| 51 |
+
**Returns**:
|
| 52 |
+
|
| 53 |
+
`Dict[str, Any]`: The output data containing code editor output and temporary file location.
|
| 54 |
|
| 55 |
<a id="run"></a>
|
| 56 |
|