soroush-app / bot-python-sdk

Soroush Messenger Bot Wrapper for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

download_file and upload_file functions would better return a file like object

farooqkz opened this issue · comments

Currently these two functions save file on the disk and read file from disk. If you instead return and get a file-like object to and from user, it will be much more flexible since users can work with file-like objects directly. As an application of this, they could work with data without writing them on the disk if that's not necessary for the application.