data_juicer_agents.tools.process.execute_python_code#
execute_python_code tool package.
- class data_juicer_agents.tools.process.execute_python_code.ExecutePythonCodeInput(*, code: str, timeout: Annotated[int, Ge(ge=1)] = 120)[source]#
Bases:
BaseModel- code: str#
- timeout: int#
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].