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

Method upload_async

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

Source from the content-addressed store, hash-verified

543 callback()
544
545 def upload_async(self, remote_path, local_path, callback=None):
546
547 target = (lambda: self.upload_sync(local_path=local_path, remote_path=remote_path, callback=callback))
548 threading.Thread(target=target).start()
549
550 def copy(self, remote_path_from, remote_path_to):
551

Callers 1

read_asyncMethod · 0.80

Calls 1

upload_syncMethod · 0.95

Tested by

no test coverage detected