| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@shubham-up-47 Please add unit tests. |
Sorry, something went wrong.
Done. |
Sorry, something went wrong.
Done. Noted. |
Sorry, something went wrong.
There was a problem hiding this comment.
Design question: why put this behind an opt-in flag? Is there a non backwards compatible change that you're concerned about? Or is the flag temporary?
This requires a customer to take an extra step in order to benefit from the performance optimization.
Sorry, something went wrong.
We wanted to keep the existing flow as it is and add the support of single_shot_download, that's why keeping its default value as False currently. Later if everything works fine, then we will make the default value of single_shot_download flag as true. |
Sorry, something went wrong.
There was a problem hiding this comment.
Left a few questions. Please also add system tests under TestRawDownload as well, thanks!
Sorry, something went wrong.
| :param single_shot_download: | ||
| (Optional) If true, download the object in a single request. | ||
| Caution: Enabling this will increase the memory overload for your application. | ||
| Please enable this as per your use case. |
There was a problem hiding this comment.
Thanks for adding the note on memory consumption.
Based on the design doc, I understand we are introducing single shot download support in multiple phases. Note that if and when we want to have single_shot_download defaulted to True, that would be a breaking change and would require a major version bump, so something to keep in mind when planning for next version changes
Sorry, something went wrong.
There was a problem hiding this comment.
@cojenco how is that a breaking change?
Sorry, something went wrong.
There was a problem hiding this comment.
Sure @cojenco, will keep these things in mind.
Sorry, something went wrong.
Done, Actually TestRawDownload is inheriting the TestDownload class, that's why all the tests written in the TestDownload class are automatically running for the TestRawDownload class. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adding the support of single shot download using a boolean flag.
Some results using the script in the customer issue,