diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-12-01 12:02:50 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-12-01 13:28:10 +0300 |
commit | 0e578a4c44d4abd539d9838347b9ebafaca41dfb (patch) | |
tree | a0c1969c37f818c830ebeff9c077eacf30be6ef8 /contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py | |
parent | 84f2d3d4cc985e63217cff149bd2e6d67ae6fe22 (diff) | |
download | ydb-0e578a4c44d4abd539d9838347b9ebafaca41dfb.tar.gz |
Change "ya.make"
Diffstat (limited to 'contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py')
-rw-r--r-- | contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py b/contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py new file mode 100644 index 0000000000..28318f125e --- /dev/null +++ b/contrib/python/ruamel.yaml/py3/ruamel/yaml/configobjwalker.py @@ -0,0 +1,15 @@ +# coding: utf-8 + +import warnings + +from ruamel.yaml.util import configobj_walker as new_configobj_walker + +from typing import Any + + +def configobj_walker(cfg: Any) -> Any: + warnings.warn( + 'configobj_walker has moved to ruamel.yaml.util, please update your code', + stacklevel=2, + ) + return new_configobj_walker(cfg) |