Skip to content

Commit

Permalink
Require the commands field.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Feb 7, 2024
1 parent 9bc618f commit c8813d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/opentrons/protocols/models/json_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ class Model(BaseModel):
modules: Optional[Dict[str, Modules]] = Field(
None, description="All modules used in this protocol"
)
commands: Optional[List[AllCommands]] = Field(
None,
commands: List[AllCommands] = Field(
...,
description="An array of command objects representing steps to be executed "
"on the robot",
)
Expand Down

0 comments on commit c8813d1

Please sign in to comment.