oc_chat
Loading...
Searching...
No Matches
canonical.py File Reference

Go to the source code of this file.

Classes

class  oc_chat.registry.source.canonical._FlowMap
class  oc_chat.registry.source.canonical.CanonicalDumper

Namespaces

namespace  oc_chat
namespace  oc_chat.registry
namespace  oc_chat.registry.source
namespace  oc_chat.registry.source.canonical

Functions

yaml.ScalarNode oc_chat.registry.source.canonical._represent_str (yaml.SafeDumper dumper, str data)
yaml.MappingNode oc_chat.registry.source.canonical._represent_flowmap (yaml.SafeDumper dumper, _FlowMap data)
Any oc_chat.registry.source.canonical._field_default (Any field_info)
Any oc_chat.registry.source.canonical._to_yaml_obj (Any value)
Any oc_chat.registry.source.canonical._depends_on_to_yaml (Any edge)
dict[str, Any] oc_chat.registry.source.canonical.model_to_frontmatter (RegistryModel model)
str oc_chat.registry.source.canonical.dump_frontmatter (dict[str, Any] mapping)
str oc_chat.registry.source.canonical._normalize_body (str body)
str oc_chat.registry.source.canonical.format_record_text (RegistryModel model, str body="")
tuple[str, str] oc_chat.registry.source.canonical.split_record_text (str text)
None oc_chat.registry.source.canonical._assert_no_yaml_features (str frontmatter, str rel_path)
Any oc_chat.registry.source.canonical._model_for (ScannedRecord scanned)
tuple[RegistryModel, str] oc_chat.registry.source.canonical.load_record (ScannedRecord scanned)
None oc_chat.registry.source.canonical._check_identity (ScannedRecord scanned, RegistryModel model)
str oc_chat.registry.source.canonical.canonicalize_file (ScannedRecord scanned)
list[str] oc_chat.registry.source.canonical.format_source_tree (list[ScannedRecord] records, *, bool check=False)
bytes oc_chat.registry.source.canonical.canonical_record_bytes (ScannedRecord scanned)

Variables

str oc_chat.registry.source.canonical._STR_TAG = "tag:yaml.org,2002:str"
frozenset oc_chat.registry.source.canonical._RESERVED_DEVICE_STEMS