Skip to content

Commit

Permalink
Merge pull request #45 from oarepo/check_if_additional_fields
Browse files Browse the repository at this point in the history
check for additional fields
mesemus authored Dec 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 7a9fb0e + 3e745d3 commit 1d5a86b
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if "additional-fields" in vars %}
{% if "additional-fields" in vars and vars.additional_fields | length > 0 %}
{% for field in vars.additional_fields.values() %}
{{ field|code_imports }}
{% endfor %}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder-drafts
version = 4.0.36
version = 4.0.37
description =
authors = Ronald Krist <[email protected]>
readme = README.md

0 comments on commit 1d5a86b

Please sign in to comment.