clipppy.yaml.resolver¶
Module Contents¶
- class clipppy.yaml.resolver.ClipppyResolver(version: Any = None, loader: Any = None, loadumper=None)¶
contrary to the “normal” resolver, the smart resolver delays loading the pattern matching rules. That way it can decide to load 1.1 rules or the (default) 1.2 rules, that no longer support octal without 0o, sexagesimals and Yes/No/On/Off booleans.
- _merge_tag = tag:yaml.org,2002:merge¶
- _mergepos_tag = tag:clipppy:mergepos¶
- _pos_tag = tag:clipppy:pos¶
- is_merge¶
- is_mergepos¶
- is_pos¶
- class clipppy.yaml.resolver.ImplicitClipppyResolver(version: Any = None, loader: Any = None, loadumper=None)¶
contrary to the “normal” resolver, the smart resolver delays loading the pattern matching rules. That way it can decide to load 1.1 rules or the (default) 1.2 rules, that no longer support octal without 0o, sexagesimals and Yes/No/On/Off booleans.
- clipppy.yaml.resolver._key_is(key: Union[ruamel.yaml.Node, clipppy.utils.Sentinel], spval: clipppy.utils.Sentinel, tag: str)¶