def METHOD_NAME(self, context: LaunchRunContext) -> None:
    # defer for perf
    from dagster._core.host_representation.code_location import (
        GrpcServerCodeLocation,
    )
    run = context.dagster_run
    check.inst_param(run, "run", DagsterRun)
    if not context.workspace:
        raise DagsterInvariantViolationError(
            "DefaultRunLauncher requires a workspace to be included in its LaunchRunContext"
        )
    external_job_origin = check.not_none(run.external_job_origin)
    code_location = context.workspace.get_code_location(
        external_job_origin.external_repository_origin.code_location_origin.location_name
    )
    check.inst(
        code_location,
        GrpcServerCodeLocation,
        "DefaultRunLauncher: Can't launch runs for pipeline not loaded from a GRPC server",
    )
    DefaultRunLauncher.launch_run_from_grpc_client(
        self._instance, run, cast(GrpcServerCodeLocation, code_location).client
    )
    self._run_ids.add(run.run_id)