MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fmt_propname

Function fmt_propname

tools/fromschema.py:68–70  ·  view source on GitHub ↗

Pretty-print format a property name

(propname)

Source from the content-addressed store, hash-verified

66
67
68def fmt_propname(propname):
69 """Pretty-print format a property name"""
70 return '**{}**'.format(propname.replace('_', '\\_'))
71
72
73def output_member(propname, properties, is_optional, indent, print_type=True, prefix=None):

Callers 3

output_memberFunction · 0.85
output_membersFunction · 0.85
generate_from_schemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected