monai.deploy.core.env

monai.deploy.core.env(pip_packages=None)[source]

A decorator that adds an environment specification to either Operator or Application.

Parameters

pip_packages (Union[List[str], str, None]) – A string that is a path to requirements.txt file or a list of packages to install.

Returns

A decorator that adds an environment specification to either Operator or Application.