Skip to content

Commit

Permalink
Update HTTP models.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Mar 15, 2024
1 parent 9fb2423 commit 62739a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions robot-server/robot_server/runs/action_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ class RunActionType(str, Enum):
* `"play"`: Start or resume a run.
* `"pause"`: Pause a run.
* `"stop"`: Stop (cancel) a run.
* `"complete-recovery"`: Resume normal protocol execution after a command failed,
the run was placed in `awaiting-recovery` mode, and manual recovery steps
were taken.
"""

PLAY = "play"
PAUSE = "pause"
STOP = "stop"
COMPLETE_RECOVERY = "complete-recovery"


class RunActionCreate(BaseModel):
Expand Down

0 comments on commit 62739a8

Please sign in to comment.