Added ModifyConcept function, and fixed 'isa' not working
This commit is contained in:
@@ -74,6 +74,7 @@ class ConceptHandler(BaseHandler):
|
||||
# get value
|
||||
instance.set_metadata_value(ConceptParts(key), resolved_value)
|
||||
|
||||
instance.freeze_definition_hash()
|
||||
return instance
|
||||
|
||||
|
||||
@@ -92,6 +93,7 @@ class UserInputHandler(ConceptHandler):
|
||||
instance.__init__(data["text"], data["user_name"])
|
||||
instance.metadata.key = data[CONCEPT_ID][0]
|
||||
instance.metadata.id = data[CONCEPT_ID][1]
|
||||
instance.freeze_definition_hash()
|
||||
return instance
|
||||
|
||||
|
||||
@@ -122,6 +124,7 @@ class ReturnValueHandler(BaseHandler):
|
||||
|
||||
instance.metadata.key = data[CONCEPT_ID][0]
|
||||
instance.metadata.id = data[CONCEPT_ID][1]
|
||||
instance.freeze_definition_hash()
|
||||
return instance
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user