raito.utils.helpers.code_evaluator module¶
- class raito.utils.helpers.code_evaluator.EvaluationData(stdout=None, result=None, error=None)[исходный код]¶
Базовые классы:
objectStores the result of evaluated python code.
- Параметры:
- class raito.utils.helpers.code_evaluator.CodeEvaluator[исходный код]¶
Базовые классы:
objectAsync code evaluator with stdout capture and error handling.
- async evaluate(code, context)[исходный код]¶
Evaluates the given async python code with the provided context.
- Параметры:
- Результат:
Result of the evaluation as
EvaluationData- Тип результата: