-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add the possibility to download files and keep them in a variable #322
Comments
Hi TytoCapensis! Very nice suggestion! My original idea was to overload the I think that would be more elegant and probably the main modification should be done solely in _process_stream_response. There one could check if Can you give it a try? |
I just pushed a replacement commit that went with the method you suggested instead (using a Note that I had to use a |
I close this one as it is not a feature we want to support at the moment. |
As today, all functions related to download of files take a file path as an argument, and download themselves the file on the filesystem (by using the functions in the
session.py
module)This can cause issues because:
I intend to add a pull request that:
False
as a "filepath" to all file download functions, to tell that we do not want the file to be written on the filesystem, but instead returned by the function so we can store it as a variableFalse
as a default for all file download functions (currently there is no default, the user has to provide a file path regardless).The text was updated successfully, but these errors were encountered: