MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / render_note

Function render_note

pydbml/renderer/dbml/default/note.py:9–14  ·  view source on GitHub ↗
(model: Note)

Source from the content-addressed store, hash-verified

7
8@DefaultDBMLRenderer.renderer_for(Note)
9def render_note(model: Note) -> str:
10 text = quote_string(model.text)
11
12 text = indent(text, ' ')
13 result = f'Note {{\n{text}\n}}'
14 return result

Callers

nothing calls this directly

Calls 2

quote_stringFunction · 0.90
indentFunction · 0.85

Tested by

no test coverage detected