Skip to content

Commit

Permalink
fix(robot-server): Resolve LabwareRole pickle warnings (#13444)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring authored Sep 1, 2023
1 parent 6ae1d8d commit 1923734
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions robot-server/robot_server/persistence/legacy_pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ def _get_legacy_ot_types() -> List[_LegacyTypeInfo]:
_LegacyTypeInfo(original_name="LabwareMovementStrategy", current_type=LabwareMovementStrategy)
)

from opentrons_shared_data.labware.labware_definition import LabwareRole
_legacy_ot_types.append(
_LegacyTypeInfo(original_name="LabwareRole", current_type=LabwareRole)
)

from opentrons.protocol_engine import ModuleModel
_legacy_ot_types.append(
_LegacyTypeInfo(original_name="ModuleModel", current_type=ModuleModel)
Expand Down

0 comments on commit 1923734

Please sign in to comment.