![]() |
Test at runtime if a function's signature contains a certain argument.
tfx.components.util.value_utils.FunctionHasArg(
fn: Callable,
arg_name: Text
) -> bool
Args | |
---|---|
fn
|
function to be tested. |
arg_name
|
Name of the argument to be tested. |
Returns | |
---|---|
True if the function signature contains that argument. |