We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0088783 + 0a9472b commit 6948b1aCopy full SHA for 6948b1a
python/templates/types/struct_fields.py.jinja
@@ -1,3 +1,4 @@
1
+{% if type.fields | length == 0 %} pass{% endif -%}
2
{% for field in type.fields %}
3
{%- if field.required and not field.nullable %}
4
{%- if field.name | to_lower_camel_case != field.name %}
0 commit comments