We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c621ef8 commit 849c12fCopy full SHA for 849c12f
src/betterproto/plugin/compiler.py
@@ -32,6 +32,7 @@ def outputfile_compiler(output_file: OutputTemplate) -> str:
32
trim_blocks=True,
33
lstrip_blocks=True,
34
loader=jinja2.FileSystemLoader(templates_folder),
35
+ undefined=jinja2.StrictUndefined,
36
)
37
# Load the body first so we have a compleate list of imports needed.
38
body_template = env.get_template("template.py.j2")
0 commit comments