ws test version 2

This commit is contained in:
Xuwznln
2025-09-02 18:29:05 +08:00
parent e3b8164f6b
commit f4d4eb06d3
3 changed files with 42 additions and 126 deletions

View File

@@ -53,6 +53,7 @@ class JobAddReq(BaseModel):
action: str = Field(examples=["_execute_driver_command_async"], description="action name", default="")
action_type: str = Field(examples=["unilabos_msgs.action._str_single_input.StrSingleInput"], description="action name", default="")
action_args: dict = Field(examples=[{'string': 'string'}], description="action name", default="")
task_id: str = Field(examples=["task_id"], description="task uuid")
job_id: str = Field(examples=["job_id"], description="goal uuid")
node_id: str = Field(examples=["node_id"], description="node uuid")
server_info: dict = Field(examples=[{"send_timestamp": 1717000000.0}], description="server info")