Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ sync
Method
sync
recipes/Python/496742_ShelfProxy/recipe-496742.py:58–63 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
self.__shelf[key] = value
57
58
def
sync(self):
59
for
obj in self.__cache.itervalues():
60
try
:
61
sync_proxy(obj)
62
except
InvalidationError:
63
pass
64
65
def
close(self):
66
self.sync()
Callers
2
close
Method · 0.95
sync_proxy
Function · 0.45
Calls
2
sync_proxy
Function · 0.85
itervalues
Method · 0.45
Tested by
no test coverage detected