mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix ProxyDictPostWrite.update() does not trigger write-back to backend (#985)
This commit is contained in:
parent
9f9af85a2a
commit
71e1608ad8
@ -39,9 +39,11 @@ class ProxyDictPostWrite(dict):
|
||||
return a_dict
|
||||
|
||||
def update(self, E=None, **F):
|
||||
return super(ProxyDictPostWrite, self).update(
|
||||
res = super(ProxyDictPostWrite, self).update(
|
||||
ProxyDictPostWrite(self._update_obj, self._set_callback, E) if E is not None else
|
||||
ProxyDictPostWrite(self._update_obj, self._set_callback, **F))
|
||||
self._set_callback()
|
||||
return res
|
||||
|
||||
|
||||
class ProxyDictPreWrite(dict):
|
||||
|
Loading…
Reference in New Issue
Block a user