Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Async uploads are blocking but async downloads are not #173

Closed
KTibow opened this issue Mar 15, 2020 · 1 comment
Closed

Async uploads are blocking but async downloads are not #173

KTibow opened this issue Mar 15, 2020 · 1 comment

Comments

@KTibow
Copy link

KTibow commented Mar 15, 2020

You can get by this by running an async upload on a different thread or using

import asyncio
# Make sure you've authenticated
def download(client, drivename, localname):
    loop = asyncio.get_event_loop()
    loop.run_until_complete(client.item(drive='me', path=drivename).download_async(localname))

download(client, "largefile.whatever", "downloadedfile.whatever")

but this is odd behavior that should probably be fixed.

@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants