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
- set_remove_error_check(_value: bool)
Set flag to check if element exists before removing
- 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