monai.deploy.core.init_app_context¶
- monai.deploy.core.init_app_context(argv=None, runtime_env=None)[source]¶
Initializes the app context with arguments and well-known environment variables.
The arguments, if passed in, override the attributes set with environment variables.
- Parameters
argv (Optional[List[str]], optional) – arguments passed to the program. Defaults to None.
- Returns
the AppContext object
- Return type