yaml#

YAML serialization utilities for conda.

Functions#

_representer() → type[ruamel.yaml.representer.RoundTripRepresenter]

_yaml() → ruamel.yaml.YAML

Create a parser with fresh state for each load or dump.

write(…)

dump(obj, fp) → None

dumps(obj) → str

read(…)

load(fp) → Any

loads(s) → Any

__getattr__(name) → Any

_representer() → type[ruamel.yaml.representer.RoundTripRepresenter]#
_yaml() → ruamel.yaml.YAML#

Create a parser with fresh state for each load or dump.

write(obj: Any) → str#
write(obj: Any, *, fp: io.IO[str]) → None
write(obj: Any, *, path: conda.common.path.PathType) → None
dump(obj: Any, fp: io.IO[str]) → None#
dumps(obj: Any) → str#
read(*, text: str) → Any#
read(*, fp: io.IO[str]) → Any
read(*, path: conda.common.path.PathType) → Any
load(fp: io.IO[str]) → Any#
loads(s: str) → Any#
__getattr__(name: str) → Any#