MCPcopy Index your code
hub / github.com/Vanderhoof/PyDBML / comment

Function comment

pydbml/tools.py:8–9  ·  view source on GitHub ↗
(val: str, comb: str)

Source from the content-addressed store, hash-verified

6
7
8def comment(val: str, comb: str) -> str:
9 return '\n'.join(f'{comb} {cl}' for cl in val.split('\n')) + '\n'
10
11
12def indent(val: str, spaces=4) -> str:

Callers 3

comment_to_sqlFunction · 0.90
comment_to_dbmlFunction · 0.90
common.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected