Skip to content
Snippets Groups Projects
Commit 7b2c531e authored by yvesn's avatar yvesn
Browse files

SSDM-6986: setting permId after save so the object can be used to...

SSDM-6986: setting permId after save so the object can be used to update/delete the semantic annotation
parent 2bc4046c
No related branches found
No related tags found
No related merge requests found
......@@ -74,8 +74,9 @@ class SemanticAnnotation():
]
}
self._openbis._post_request(self._openbis.as_v3, request)
response = self._openbis._post_request(self._openbis.as_v3, request)
self._isNew = False
self.permId = response[0]['permId']
if VERBOSE: print("Semantic annotation successfully created.")
......
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