From c423d0c1da9fd2468366a9e77cbfc5b6dafae143 Mon Sep 17 00:00:00 2001 From: jason_w Date: Sat, 24 Feb 2024 09:46:01 +0800 Subject: [PATCH] Fix docstring of Config (#1506) --- mmengine/config/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mmengine/config/config.py b/mmengine/config/config.py index 1fe0a9ec..f8579506 100644 --- a/mmengine/config/config.py +++ b/mmengine/config/config.py @@ -444,6 +444,8 @@ class Config: predefined variables. Defaults to True. import_custom_modules (bool, optional): Whether to support importing custom modules in config. Defaults to None. + use_environment_variables (bool, optional): Whether to use + environment variables. Defaults to True. lazy_import (bool): Whether to load config in `lazy_import` mode. If it is `None`, it will be deduced by the content of the config file. Defaults to None. @@ -831,6 +833,8 @@ class Config: filename (str): Name of config file. use_predefined_variables (bool, optional): Whether to use predefined variables. Defaults to True. + use_environment_variables (bool, optional): Whether to use + environment variables. Defaults to True. lazy_import (bool): Whether to load config in `lazy_import` mode. If it is `None`, it will be deduced by the content of the config file. Defaults to None.