code: def optimizer_param() -> Type[OptimizerParam]:
      namespace = {}
      return type("OptimizerParam", (OptimizerParam,), namespace)
  
imports: from typing import Type
  import pydantic
  from ._fields import string_choice
  from ._penalty import penalty_param
label_desc: Use image node_id 1 for calling a global function with example usage: optimizer_param() and returns: type