asq.namedelements
¶
This module contains the definition of the IndexedElement type.
IndexedElement
s and KeyedElement
are namedtuples
useful for storing
index, element pairs. They are used as the default selectors by the
select_with_index()
and select_many_with_index()
, select_with_correspondence()
and select_many_with_corresponding()
query methods.
asq.namedelements.IndexedElement
¶
- class
asq.namedelements.
IndexedElement
(index, value)¶The index and value of the element can be accessed via the
index
andvalue
attributes.