monai.deploy.core.parse_args#

monai.deploy.core.parse_args(argv=None)[source]#

Parses the arguments passed to the application.

Parameters:

argv (Optional[List[str]], optional) – The command line arguments to parse. The first item should be the path to the python executable. If not specified, sys.argv is used. Defaults to None.

Returns:

parsed arguments.

Return type:

argparse.Namespace