inject_params

inject_params(f: Callable[..., Any]) -> Callable[..., Any]

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:
NameDescription
fThe function to modify with dependency injection.

Type: Callable[..., Any]
Returns:
TypeDescription
Callable[..., Any]The modified function with injected dependencies and updated signature.