moo.sdk.tasks.moo_eval
- moo.sdk.tasks.moo_eval(code_string)
Evaluate arbitrary Python code in the RestrictedPython sandbox.
The code runs with the same environment as verb code, with standard verb variables (this, _, context) automatically available.
- Parameters:
code_string (
str) – Python code to evaluate- Returns:
The result of the evaluation