Update CoderFlow.py
Browse files- CoderFlow.py +6 -0
CoderFlow.py
CHANGED
|
@@ -29,6 +29,12 @@ class CoderFlow(AbstractBossFlow):
|
|
| 29 |
5. Finish and give an answer.
|
| 30 |
"""
|
| 31 |
def run(self, input_data: Dict[str, Any]) -> Dict[str, Any]:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
# ~~~ sets the input_data in the flow_state dict ~~~
|
| 33 |
self._state_update_dict(update_data=input_data)
|
| 34 |
|
|
|
|
| 29 |
5. Finish and give an answer.
|
| 30 |
"""
|
| 31 |
def run(self, input_data: Dict[str, Any]) -> Dict[str, Any]:
|
| 32 |
+
"""The run function of the Coder flow.
|
| 33 |
+
:param input_data: The input data of the flow.
|
| 34 |
+
:type input_data: Dict[str, Any]
|
| 35 |
+
:return: The output data of the flow.
|
| 36 |
+
:rtype: Dict[str, Any]
|
| 37 |
+
"""
|
| 38 |
# ~~~ sets the input_data in the flow_state dict ~~~
|
| 39 |
self._state_update_dict(update_data=input_data)
|
| 40 |
|