trulens.core.utils.signature¶
trulens.core.utils.signature
¶
Utilities related to guessing inputs and outputs of functions.
Functions¶
main_input
¶
main_input(
func: Callable, sig: Signature, bindings: BoundArguments
) -> str
Determine (guess) the main input string for a main app call.
PARAMETER | DESCRIPTION |
---|---|
func |
The main function we are targeting in this determination.
TYPE:
|
sig |
The signature of the above.
TYPE:
|
bindings |
The arguments to be passed to the function.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
The main input string. |