uktrade / stream-zip

Python function to construct a ZIP archive on the fly
https://stream-zip.docs.trade.gov.uk/
MIT License
101 stars 9 forks source link

docs: simplify async interface #112

Closed michalc closed 6 months ago

michalc commented 6 months ago

This simplifies the code a bit in the suggested async interface. This is inspired by the discussion at https://github.com/uktrade/stream-unzip/pull/80, and makes this code more consistent with the code there.

Whether this will continue to be an example in the docs or integrated into the codebase in some way, I'm not sure right now.