MCPcopy Create free account
hub / github.com/CloudPolis/webdav-client-python / download_async

Method download_async

webdav/client.py:423–426  ·  view source on GitHub ↗
(self, remote_path, local_path, callback=None)

Source from the content-addressed store, hash-verified

421 callback()
422
423 def download_async(self, remote_path, local_path, callback=None):
424
425 target = (lambda: self.download_sync(local_path=local_path, remote_path=remote_path, callback=callback))
426 threading.Thread(target=target).start()
427
428 def upload_from(self, buff, remote_path):
429

Callers 1

write_asyncMethod · 0.80

Calls 1

download_syncMethod · 0.95

Tested by

no test coverage detected