Skip to content
Snippets Groups Projects
Commit c6fc5a94 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

avoid cache when saving and re-fetching propertyType

parent 5596e954
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,9 @@ class OpenBisObject: ...@@ -205,7 +205,9 @@ class OpenBisObject:
resp = self.openbis._post_request(self.openbis.as_v3, request) resp = self.openbis._post_request(self.openbis.as_v3, request)
if VERBOSE: if VERBOSE:
print("{} successfully updated.".format(self.entity)) print("{} successfully updated.".format(self.entity))
new_entity_data = get_single_item(self.permId, only_data=True) new_entity_data = get_single_item(
self.permId, only_data=True, use_cache=False
)
self._set_data(new_entity_data) self._set_data(new_entity_data)
return self return self
......
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