types: add 'local' to PropertySource

main
svalouch 4 years ago
parent 1c977670e2
commit 6b7e68d697

@ -103,6 +103,8 @@ class PropertySource(str, Enum):
'''
#: Property is at default
DEFAULT = 'default'
#: Property was defined on the dataset itself
LOCAL = 'local'
#: Property was inerited
INHERITED = 'inherited'
#: Property is temporary
@ -126,6 +128,8 @@ class PropertySource(str, Enum):
val = value.lower()
if val == 'default':
return PropertySource.DEFAULT
elif val == 'local':
return PropertySource.LOCAL
elif val == 'inherited':
return PropertySource.INHERITED
elif val == 'temporary':

Loading…
Cancel
Save