Skip to content

Commit 863f90f

Browse files
authored
server: Fix ConceptDescription parsing (#420)
Previously, `ConceptDescription` were not parsed properly due to the type missing in `app.interfaces.base.HTTPApiDecoder.type_constructables_map`, specifying which types are constructable. This adds this line Fixes #395
1 parent 553d87a commit 863f90f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/app/interfaces/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ class HTTPApiDecoder:
287287
model.Submodel: XMLConstructables.SUBMODEL,
288288
model.SubmodelElement: XMLConstructables.SUBMODEL_ELEMENT,
289289
model.Reference: XMLConstructables.REFERENCE,
290+
model.ConceptDescription: XMLConstructables.CONCEPT_DESCRIPTION,
290291
}
291292

292293
@classmethod

0 commit comments

Comments
 (0)