Skip to content

Commit

Permalink
updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Jul 29, 2024
1 parent b9212d6 commit 55f0172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion robot-server/robot_server/runs/error_recovery_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ class ErrorRecoveryPolicies(BaseModel):

policyRules: List[ErrorRecoveryRule] = Field(
...,
description="The criteria that must be met for this rule to be applied.",
description="A list or error recovery rules to apply for a run's recovery management."
"The rules are evaluated first-to-last. The first exact match will dectate recovery management.",
)
2 changes: 1 addition & 1 deletion robot-server/robot_server/runs/router/base_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ async def update_run(
summary="Set run policies",
description=dedent(
"""
When in error recovery, add the ability to ignore errors for commands.
Update how to handle different kinds of command failures.
The following rules will persist during the run.
"""
),
Expand Down

0 comments on commit 55f0172

Please sign in to comment.