IO¶
Convert sync to async¶
Convert async generator stream to file like object¶
https://stackoverflow.com/questions/59413796/how-to-convert-async-generator-stream-into-a-file-like-object-in-python3
Maybe can use io.BytesIO as well instead of SpooledTemporaryFile.