# cpl_query.enumerable

## cpl_query.enumerable.enumerable

class cpl_query.enumerable.enumerable.Enumerable(t: Optional[type] = None, values: Optional[list] = None)

  Bases: `EnumerableABC`

  Implementation of :class: cpl_query.enumerable.enumerable_abc.EnumerableABC

## cpl_query.enumerable.enumerable_abc

class cpl_query.enumerable.enumerable_abc.EnumerableABC(t: Optional[type] = None, values: Optional[list] = None)

  Bases: `QueryableABC`

  ABC to define functions on list

  to_iterable() → IterableABC

    Converts :class: cpl_query.enumerable.enumerable_abc.EnumerableABC to :class: cpl_query.iterable.iterable_abc.IterableABC

    > class

    >   cpl_query.iterable.iterable_abc.IterableABC