Skip to content

Commit

Permalink
changes to models supplied
Browse files Browse the repository at this point in the history
Realistically the whole deck definition base class will be utilized to create the deck "instance", everything else derives from that.
  • Loading branch information
CaseyBatten committed Oct 25, 2023
1 parent cb592b0 commit 354f656
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

from typing import List

from opentrons_shared_data.deck.deck_definitions import Locations
from opentrons.protocols.models import CutoutFixture
from opentrons_shared_data.deck.deck_definitions import Locations, CutoutFixture
from opentrons.hardware_control.modules.types import ModuleModel, ModuleType


Expand Down
4 changes: 2 additions & 2 deletions api/src/opentrons/protocols/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
WellDefinition,
)
from opentrons_shared_data.deck.deck_definitions import (
CutoutFixture,
DeckDefinition,
)
from .json_protocol import Model as JsonProtocol

__all__ = [
"LabwareDefinition",
"WellDefinition",
"CutoutFixture",
"DeckDefinition",
"JsonProtocol",
]
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class GripperOffsets(BaseModel):
default: Default


class Deck(BaseModel):
class DeckDefinition(BaseModel):
class Config:
extra = Extra.forbid

Expand Down

0 comments on commit 354f656

Please sign in to comment.