Basic adding of filled openings reimplemented with new opening system

This commit is contained in:
Dion Moult
2022-10-07 16:00:17 +11:00
parent 27dc81544c
commit 82f847f5d4
3 changed files with 54 additions and 55 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class FacetDocGenerator:
# Create an IDS with the applicability selecting exactly
# the entity type passed to us in `inst`.
specs = ids.Ids(title=name)
spec = ids.Specification(name=name)
spec = ids.Specification(name=name, minOccurs=1)
spec.applicability.append(ids.Entity(name=inst.is_a().upper()))
spec.requirements.append(facet)
specs.specifications.append(spec)