mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
Fix docstring of Config (#1506)
This commit is contained in:
parent
9b98405672
commit
c423d0c1da
@ -444,6 +444,8 @@ class Config:
|
|||||||
predefined variables. Defaults to True.
|
predefined variables. Defaults to True.
|
||||||
import_custom_modules (bool, optional): Whether to support
|
import_custom_modules (bool, optional): Whether to support
|
||||||
importing custom modules in config. Defaults to None.
|
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.
|
lazy_import (bool): Whether to load config in `lazy_import` mode.
|
||||||
If it is `None`, it will be deduced by the content of the
|
If it is `None`, it will be deduced by the content of the
|
||||||
config file. Defaults to None.
|
config file. Defaults to None.
|
||||||
@ -831,6 +833,8 @@ class Config:
|
|||||||
filename (str): Name of config file.
|
filename (str): Name of config file.
|
||||||
use_predefined_variables (bool, optional): Whether to use
|
use_predefined_variables (bool, optional): Whether to use
|
||||||
predefined variables. Defaults to True.
|
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.
|
lazy_import (bool): Whether to load config in `lazy_import` mode.
|
||||||
If it is `None`, it will be deduced by the content of the
|
If it is `None`, it will be deduced by the content of the
|
||||||
config file. Defaults to None.
|
config file. Defaults to None.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user