RetrieverRef
RetrieverRef
¶
Aliases another retriever, combiner, or another reference for flattening potentially nested struct properties to help with providing a more coherent API
__new__
¶
__new__(*target: Retriever | RetrieverRef | RetrieverCombiner | int) -> RetrieverRef
Create a new property which aliases the retriever property at the given path.
Parameters:
-
*target
(Retriever | RetrieverRef | RetrieverCombiner | int
, default:()
) –The retriever path to alias. This can be a sequence of retrievers/list indices starting in the current struct