Skip to content

Commit

Permalink
Oops, forgot RTPBase.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed May 15, 2024
1 parent 0ab6a09 commit d7bdcd4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions api/src/opentrons/protocol_engine/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,12 +885,14 @@ def from_hw_state(cls, state: HwTipStateType) -> "TipPresenceStatus":
class RTPBase(BaseModel):
"""Parameters defined in a protocol."""

displayName: str = Field(..., description="Display string for the parameter.")
variableName: str = Field(..., description="Python variable name of the parameter.")
description: Optional[str] = Field(
displayName: StrictStr = Field(..., description="Display string for the parameter.")
variableName: StrictStr = Field(
..., description="Python variable name of the parameter."
)
description: Optional[StrictStr] = Field(
None, description="Detailed description of the parameter."
)
suffix: Optional[str] = Field(
suffix: Optional[StrictStr] = Field(
None,
description="Units (like mL, mm/sec, etc) or a custom suffix for the parameter.",
)
Expand Down

0 comments on commit d7bdcd4

Please sign in to comment.