MCPcopy Create free account
hub / github.com/PowerGridModel/power-grid-model / __init__

Method __init__

code_generation/code_gen.py:32–34  ·  view source on GitHub ↗
(self, base_output_path: Path)

Source from the content-addressed store, hash-verified

30 base_output_path: Path
31
32 def __init__(self, base_output_path: Path) -> None:
33 self.all_classes = {}
34 self.base_output_path = base_output_path
35
36 def render_template(self, template_path: Path, output_path: Path, **data):
37 # jinja expects a string, representing a relative path with forward slashes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected