dependency_injection
autogen.tools.dependency_injection.inject_params
inject_params
Injects parameters into a function, removing injected dependencies from its signature.
This function is used to modify a function by injecting dependencies and removing injected parameters from the function’s signature.
Parameters:Name | Description |
---|---|
f | The function to modify with dependency injection. Type: Callable[..., Any] |
Type | Description |
---|---|
Callable[..., Any] | The modified function with injected dependencies and updated signature. |