code: def __init__(self, a):
      if current_model() is not None:
          self.a = current_model()["a"]
      else:
          self.a = nni.choice("a", a)
  
file_path: nni/test/ut/nas/test_engine.py
imports: import time
  import pytest
  import nni
  from nni.nas.experiment import NasExperiment
  from nni.nas.execution import ExecutionEngine, TrainingServiceExecutionEngine, SequentialExecutionEngine
  from nni.nas.execution.event import ModelEventType
  from nni.nas.evaluator import FunctionalEvaluator
  from nni.nas.space import BaseModelSpace, SimplifiedModelSpace, current_model, ModelStatus
label_desc: Use image node_id 1 to create a new MyModelSpace object from inherited base classes: BaseModelSpace with example: obj = MyModelSpace(a)