mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-13 15:28:27 +01:00
12 lines
447 B
Python
12 lines
447 B
Python
from collections import defaultdict
|
|
|
|
from ._common import * # noqa, pylint: disable=wildcard-import
|
|
from ._toml import * # noqa, pylint: disable=wildcard-import
|
|
from ._yaml import * # noqa, pylint: disable=wildcard-import
|
|
|
|
LOADERS = defaultdict(lambda: load_yaml) # noqa: F405
|
|
LOADERS.update({".toml": load_toml}) # noqa: F405
|
|
|
|
MODIFIERS = defaultdict(lambda: modify_yaml) # noqa: F405
|
|
MODIFIERS.update({".toml": modify_toml}) # noqa: F405
|