def METHOD_NAME() -> List[_LegacyTypeInfo]:
    """Return all legacy Opentrons types.
    A "legacy Opentrons type," in this context, is any Opentrons-defined Python type
    that was pickled by older robot-server versions and stored in the database.
    NOTE: After adding a type to this list, its `original_name` should never change.
    Even if the `current_type` gets renamed.
    This is in a function with local imports to mitigate circular dependency problems.
    This module will be imported by low-level database setup, so it can't immediately
    import higher-level types, because they might try to import the low-level database
    setup again.
    """
    # fmt: off
    _legacy_ot_types: List[_LegacyTypeInfo] = []
    from robot_server.protocols.analysis_models import AnalysisResult
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="AnalysisResult", current_type=AnalysisResult)
    )
    from robot_server.protocols.analysis_models import AnalysisStatus
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="AnalysisStatus", current_type=AnalysisStatus)
    )
    from opentrons.protocol_engine.commands import CommandIntent
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="CommandIntent", current_type=CommandIntent)
    )
    from opentrons.protocol_engine.commands import CommandStatus
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="CommandStatus", current_type=CommandStatus)
    )
    from opentrons.types import DeckSlotName
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="DeckSlotName", current_type=DeckSlotName)
    )
    from opentrons_shared_data.labware.labware_definition import DisplayCategory
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="DisplayCategory", current_type=DisplayCategory)
    )
    from opentrons.protocol_engine import DropTipWellOrigin
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="DropTipWellOrigin", current_type=DropTipWellOrigin)
    )
    from opentrons.protocol_engine import EngineStatus
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="EngineStatus", current_type=EngineStatus)
    )
    from opentrons.protocol_engine.types import LabwareMovementStrategy
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="LabwareMovementStrategy", current_type=LabwareMovementStrategy)
    )
    from opentrons.protocol_engine import ModuleModel
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="ModuleModel", current_type=ModuleModel)
    )
    from opentrons.hardware_control.modules.types import ModuleType
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="ModuleType", current_type=ModuleType)
    )
    from opentrons.protocol_engine.types import MotorAxis
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="MotorAxis", current_type=MotorAxis)
    )
    from opentrons.types import MountType
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="MountType", current_type=MountType)
    )
    from opentrons.protocol_engine.types import MovementAxis
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="MovementAxis", current_type=MovementAxis)
    )
    from opentrons_shared_data.pipette.dev_types import PipetteNameType
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="PipetteName", current_type=PipetteNameType)
    )
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="PipetteNameType", current_type=PipetteNameType)
    )
    from opentrons.protocol_engine import WellOrigin
    _legacy_ot_types.append(
        _LegacyTypeInfo(original_name="WellOrigin", current_type=WellOrigin)
    )
    return _legacy_ot_types
    # fmt: on