code: def _element_makings(self):
          
          if self._type_dict["class"] == "categorical":
              return _Category, self._type_dict["categories"]
          return _Element, self._type_dict["elements"]
docs: (ElementCls, element_dicts) pair for this dimension's elements.
  
          All the elements of a given dimension are the same type. This method
          determines the type (class) and source dicts for the elements of this
          dimension and provides them for the element factory.