MCPcopy
hub / github.com/ComposioHQ/composio / escape_yaml_string

Function escape_yaml_string

python/scripts/generate-docs.py:121–123  ·  view source on GitHub ↗

Escape a string for YAML frontmatter.

(s: str)

Source from the content-addressed store, hash-verified

119
120
121def escape_yaml_string(s: str) -> str:
122 """Escape a string for YAML frontmatter."""
123 return json.dumps(s)
124
125
126def get_source_link(obj: griffe_t.Object) -> str | None:

Callers 2

generate_class_mdxFunction · 0.85
generate_index_mdxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…