code: def trial_entry() -> None:
      """The entry point for the trial job launched by training service."""
      params = nni.get_next_parameter()
      assert isinstance(
          params, ExecutableModelSpace
      ), "Generated parameter should be an ExecutableModelSpace."
      params.execute()
  
imports: from __future__ import annotations
  import logging
  import sys
  import time
  import weakref
  from threading import Event, Thread
  from typing import Iterable, TYPE_CHECKING, Any, cast
  import nni
  from nni.runtime.tuner_command_channel import command_type, TunerCommandChannel
  from nni.typehint import TrialMetric
  from nni.utils import MetricType
  from nni.nas.space import ExecutableModelSpace, ModelStatus, GraphModelSpace
  from .engine import ExecutionEngine
  from .event import FinalMetricEvent, IntermediateMetricEvent, TrainingEndEvent
label_desc: Use image node_id 1 for calling a global function with example usage: trial_entry() without return types