Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for AsyncIO #41

Open
siddhantgoel opened this issue May 31, 2020 · 2 comments
Open

Support for AsyncIO #41

siddhantgoel opened this issue May 31, 2020 · 2 comments

Comments

@siddhantgoel
Copy link
Owner

Building async support into this package would make a lot of sense. One use case, for example, would be to do networked IO in parallel while file chunks are being uploaded. This is required for S3 uploads (or basically uploads to any other file hosting service).

The API for how this should look like is not yet clear. Async code (at least how Python implements it) tends to "split" the codebase into sync and async parts, so we would need to figure that one out first.

There's a discussion and some ideas in #29 .

@mehmetemreakbulut
Copy link

Is there any plan to build async support? Currently I am using FastApi and UploadFile class to get the file input. It writes the data to disk, so not efficient when large zip files are uploaded.

@siddhantgoel
Copy link
Owner Author

Yes, I'd really like to have async support built into this library but at the moment have time constraints on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants