RetrieverCombiner
RetrieverCombiner
¶
Multiplexes retrievers that are mutually exclusive by version but hold the same value conceptually into a single property for ease of access across multi-versioned structs
__new__
¶
__new__(*target: Retriever | RetrieverRef | RetrieverCombiner) -> RetrieverCombiner
Create a new combiner property from the given retrievers. Note: mutual exclusivity is not checked for the provided retrievers, and the first supported retriever from the ones provided will be used as the "source" when this combiner's property is accessed
Parameters:
-
*target
(Retriever | RetrieverRef | RetrieverCombiner
, default:()
) –The retrievers to group/select from