Skip to content

Commit

Permalink
docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleon95 committed Apr 3, 2024
1 parent 255393e commit aa492eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_validate_options_raises_name_error() -> None:
def test_ensure_value_type(
value: Union[float, bool, str], param_type: type, result: AllowedTypes
) -> None:
"""It should ensure the correct type is there, converting floats to ints."""
"""It should ensure that if applicable, the value is coerced into the expected type"""
assert result == subject.ensure_value_type(value, param_type)


Expand Down
4 changes: 1 addition & 3 deletions robot-server/robot_server/runs/run_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ class RunCreate(BaseModel):
)
runTimeParameterValues: Optional[RunTimeParamValuesType] = Field(
None,
description="Key-value pairs of run-time parameters defined in a protocol."
" Also, if this data is included in the request, the server will"
" always trigger an analysis (for now).",
description="Key-value pairs of run-time parameters defined in a protocol.",
)


Expand Down

0 comments on commit aa492eb

Please sign in to comment.