Description
Update the Python-specific executor code (in the Evaluator) to
- Recognize callbacks in Python code blocks
- Specify the callback function and arguments in a JSON object
- Send the JSON object to the Evaluator
- Receive the function-call result back from the Evaluator
- Integrate that result into the rest of the Python code block evaluation
- Handle serialization and deserialization as needed, when sending the request and receiving the result
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- ...
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist