Skip to content
Snippets Groups Projects
Verified Commit 23108a31 authored by Georg Krause's avatar Georg Krause
Browse files

Make metadata.usage not required

parent 9357ece8
No related branches found
No related tags found
No related merge requests found
Pipeline #26541 passed with stages
in 4 minutes and 50 seconds
......@@ -113,7 +113,7 @@ class MetadataSchema(marshmallow.Schema):
nodeName = marshmallow.fields.String(required=True)
private = marshmallow.fields.Boolean(required=True)
library = marshmallow.fields.Nested(LibraryMetadataSchema, required=True)
usage = marshmallow.fields.Nested(MetadataUsageSchema, required=True)
usage = marshmallow.fields.Nested(MetadataUsageSchema, required=False)
class Meta:
unknown = marshmallow.EXCLUDE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment