diff --git a/robot-server/robot_server/persistence/legacy_pickle.py b/robot-server/robot_server/persistence/legacy_pickle.py index 29119f9b3f9..0ad36054cbc 100644 --- a/robot-server/robot_server/persistence/legacy_pickle.py +++ b/robot-server/robot_server/persistence/legacy_pickle.py @@ -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)