MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / _render_config

Method _render_config

flowcraft/generator/engine.py:1256–1265  ·  view source on GitHub ↗
(template, context)

Source from the content-addressed store, hash-verified

1254
1255 @staticmethod
1256 def _render_config(template, context):
1257
1258 tpl_dir = join(dirname(abspath(__file__)), "templates")
1259 tpl_path = join(tpl_dir, template)
1260
1261 path, filename = split(tpl_path)
1262
1263 return jinja2.Environment(
1264 loader=jinja2.FileSystemLoader(path or "./")
1265 ).get_template(filename).render(context)
1266
1267 def _set_configurations(self):
1268 """This method will iterate over all process in the pipeline and

Callers 2

_set_configurationsMethod · 0.95
render_pipelineMethod · 0.95

Calls 1

renderMethod · 0.80

Tested by

no test coverage detected