develop-bayer #1

Open
jebus wants to merge 13 commits from develop-bayer into develop
Showing only changes of commit f885745127 - Show all commits
+1 -1
View File
@@ -271,7 +271,7 @@ class PackageExportSchema(Schema):
@staticmethod @staticmethod
def resolve_classification_level(obj): def resolve_classification_level(obj):
if isinstance(obj, dict): if isinstance(obj, dict):
return obj["classification_level"] return obj.get("classification_level", "Internal")
return obj.Classification(obj.classification_level).name return obj.Classification(obj.classification_level).name