MCPcopy
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
25class ServerBrowser(Syncable):

Callers 3

_syncMethod · 0.45
_sync_server_browserMethod · 0.45
__init__Method · 0.45

Calls 1

_syncMethod · 0.45

Tested by

no test coverage detected