Skip to content

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

__get__

__get__(instance: BaseStruct, owner: Type[BaseStruct]) -> Any

__new__

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:

__set__

__set__(instance: BaseStruct, value: Any) -> None

__set_name__

__set_name__(owner: Type[BaseStruct], name: str) -> None