Creates a _ListFetchMapper. Args: fetches: List, tuple, or namedtuple of fetches.
(self, fetches)
| 371 | """Fetch mapper for lists, tuples, and namedtuples.""" |
| 372 | |
| 373 | def __init__(self, fetches): |
| 374 | """Creates a _ListFetchMapper. |
| 375 | |
| 376 | Args: |
| 377 | fetches: List, tuple, or namedtuple of fetches. |
| 378 | """ |
| 379 | self._fetch_type = type(fetches) |
| 380 | self._mappers = [_FetchMapper.for_fetch(fetch) for fetch in fetches] |
| 381 | self._unique_fetches, self._value_indices = _uniquify_fetches(self._mappers) |
| 382 | |
| 383 | def unique_fetches(self): |
| 384 | return self._unique_fetches |
nothing calls this directly
no test coverage detected