code: def __init__(self, choose_op):
      assert self.params_type.ADD == 0
      assert self.params_type.SUB == 1
      assert self.params_type.MULTIPLY == 2
      assert self.params_type.DIVIDE == 3
      assert self.params_type.fromalias("+") == self.params_type.ADD
      assert self.params_type.fromalias("-") == self.params_type.SUB
      assert (
          self.params_type.fromalias("*") == self.params_type.MULTIPLY
      )
      assert self.params_type.fromalias("/") == self.params_type.DIVIDE
      assert self.params_type.has_alias(choose_op)
      self.op_chosen = choose_op
  
imports: import os
  import numpy
  import pytest
  import pytensor
  from pytensor import scalar
  from pytensor.graph.basic import Apply
  from pytensor.link.c.op import COp
  from pytensor.link.c.type import CDataType, CEnumType, EnumList, EnumType
  from pytensor.tensor.type import TensorType, continuous_dtypes
label_desc: Use image node_id 1 to create a new MyOpEnumList object from inherited base classes: COp with example: obj = MyOpEnumList(choose_op)