clipppy.yaml.tagger

Module Contents

clipppy.yaml.tagger._KT
clipppy.yaml.tagger._VT
exception clipppy.yaml.tagger.NodeTypeMismatchError

Common base class for all non-exit exceptions.

exception clipppy.yaml.tagger.NodeTypeMismatchWarning

Base class for warning categories.

class clipppy.yaml.tagger.PerKeyDefaultDict(default_factory: Callable[[_KT], _VT] = None, *args, **kwargs)

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

default_factory :Optional[Callable[[_KT], _VT]]
__missing__(self, key: _KT) _VT
class clipppy.yaml.tagger.TaggerMixin
resolver :TaggerMixin.resolver
strict_node_type = True
type_to_tag :ClassVar[MutableMapping[Type, str]]
static _get_py_name(name: str)
is_default_tagged(self, node: ruamel.yaml.Node)
is_explicit_tagged(self, node: ruamel.yaml.Node)
tag_from_hint(self, node: ruamel.yaml.Node, hint)
tag_from_param(self, node: ruamel.yaml.Node, param: Optional[inspect.Parameter])
tag_node(self, node: ruamel.yaml.Node, hint)