Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/werkzeug
/ sync
Method
sync
examples/cupoftee/network.py:16–22 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
14
last_sync = None
15
16
def
sync(self):
17
try
:
18
self._sync()
19
except
(OSError, socket.timeout):
20
return
False
21
self.last_sync = datetime.utcnow()
22
return
True
23
24
25
class
ServerBrowser(Syncable):
Callers
3
_sync
Method · 0.45
_sync_server_browser
Method · 0.45
__init__
Method · 0.45
Calls
1
_sync
Method · 0.45
Tested by
no test coverage detected