with_requirements
| Name | Description |
|---|---|
python_packages | Packages required to function. Can include version info.. Defaults to []. Type: list[str] Default: [] |
global_imports | Required imports. Defaults to []. Type: list[str | ImportFromModule | Alias] Default: [] |
| Type | Description |
|---|---|
| Callable[[Callable[~P, ~T]], FunctionWithRequirements[~T, ~P]] | Callable[[Callable[P, T]], FunctionWithRequirements[T, P]]: The decorated function |