Skip to content

Commit

Permalink
add original
Browse files Browse the repository at this point in the history
  • Loading branch information
locula authored and arp102 committed Aug 1, 2023
1 parent fc59173 commit 1a0f63a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kmip/core/factories/attribute_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def create_attribute_value(self, name, value):
return primitives.Boolean(value, enums.Tags.NEVER_EXTRACTABLE)
elif name is enums.AttributeType.CUSTOM_ATTRIBUTE:
return attributes.CustomAttribute(value)
elif name is enums.AttributeType.ORIGINAL_CREATION_DATE:
return primitives.DateTime(value, enums.Tags.ORIGINAL_CREATION_DATE)
else:
if not isinstance(name, str):
raise ValueError('Unrecognized attribute type: '
Expand Down

0 comments on commit 1a0f63a

Please sign in to comment.