data_juicer_agents.tools.apply.submit_ray_job.input module#
Input models for submit_ray_job.
- class data_juicer_agents.tools.apply.submit_ray_job.input.SubmitRayJobInput(*, plan_path: str, ray_address: str | None = None, timeout: Annotated[int, Ge(ge=1)] = 600, no_wait: bool = False, confirm: bool = False)[源代码]#
基类:
BaseModel- plan_path: str#
- ray_address: str | None#
- timeout: int#
- no_wait: bool#
- confirm: bool#
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class data_juicer_agents.tools.apply.submit_ray_job.input.SubmitRayJobOutput(*, ok: bool = True, job_id: str = '', status: str = '', error_type: str | None = None, message: str = '', ray_address: str | None = None, command: str | None = None, export_path: str | None = None, stdout: str | None = None, stderr: str | None = None, duration_seconds: float | None = None)[源代码]#
基类:
BaseModel- ok: bool#
- job_id: str#
- status: str#
- error_type: str | None#
- message: str#
- ray_address: str | None#
- command: str | None#
- export_path: str | None#
- stdout: str | None#
- stderr: str | None#
- duration_seconds: float | None#
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].