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

Method find_template

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

Source from the content-addressed store, hash-verified

505 return ret
506
507 def find_template(self, options):
508 dirpath = os.path.dirname(os.path.abspath(__file__))
509 filename = dirpath + '/gen/{}{}_template'.format(
510 'print_' if options.print_wire else '', options.page)
511
512 return Template(filename=filename)
513
514 def post_process(self):
515 """ 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