updates
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import warnings
|
||||
|
||||
from ruamel.yaml.util import configobj_walker as new_configobj_walker
|
||||
|
||||
if False: # MYPY
|
||||
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)
|
||||
Reference in New Issue
Block a user