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

Method find_template

tools/generate-wire.py:509–514  ·  view source on GitHub ↗
(self, options)

Source from the content-addressed store, hash-verified

507 return ret
508
509 def find_template(self, options):
510 dirpath = os.path.dirname(os.path.abspath(__file__))
511 filename = dirpath + '/gen/{}{}_template'.format(
512 'print_' if options.print_wire else '', options.page)
513
514 return Template(filename=filename)
515
516 def post_process(self):
517 """ method to handle any 'post processing' that needs to be done.

Callers 1

writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected