mmengine/tests/data/config/py_config/test_environment_var.py
jbwang1997 c46f891a97
[Enhance] Substitute the environment variable in config file (#744)
* Add read environment variable function in config

* Add UT

* enable int case, split predefined and environment

* Update py config

* Add new attributes env_variables in config

* Add examples in docstring

* Fix comments

* Add tutorials

* Add en tutorials

* Refactor config docs according to comments

* Fix comments

* Change function name
2023-02-01 10:16:47 +08:00

5 lines
135 B
Python

# Copyright (c) OpenMMLab. All rights reserved.
item1 = '{{ $ITEM1: }}'
item2 = '{{ $ITEM2:default_value }}'
item3 = {{' $ITEM3:80 '}}