code: def __init__(self, conf):
      super(_ChoiceGen, self).__init__(conf)
      self.range = conf["range"]
      self.len = len(self.range)
      self.current = 0
  
imports: import abc
  import logging
  from ast import literal_eval
  from math import floor
  from six.moves import reduce, input
  from .AbstractProposer import AbstractProposer
  from ..utils import check_missing_key, get_from_options
label_desc: Use image node_id 1 to create a new _ChoiceGen object from inherited base classes: _AbstractGen with example: obj = _ChoiceGen(conf)