Skip to content

Commit

Permalink
Do not accept "schemaVersion": 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Feb 21, 2025
1 parent 8bb9e3b commit cfe737d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,7 @@ class InnerWellGeometry(BaseModel):


class LabwareDefinition2(BaseModel):
# todo(mm, 2025-02-18): Is it correct to accept schemaVersion==1 here?
schemaVersion: Literal[1, 2]
schemaVersion: Literal[2]
version: Annotated[int, Field(ge=1)]
namespace: Annotated[str, Field(pattern=SAFE_STRING_REGEX)]
metadata: Metadata
Expand Down

0 comments on commit cfe737d

Please sign in to comment.