We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbeb4c1 commit d04a57bCopy full SHA for d04a57b
2 files changed
CHANGELOG.md
@@ -5,6 +5,7 @@
5
#### Bug fixes
6
- Fixed an issue where the `Live` client would not raise an exception when reading an incompatible DBN version
7
- Fixed an issue where sending lots of subscriptions could cause a `BufferError`
8
+- Fixed an issue where `Historical.batch.download` was slow
9
10
## 0.24.1 - 2023-12-15
11
databento/historical/api/batch.py
@@ -370,7 +370,7 @@ def _download_file(
370
371
logger.debug("Starting download of file %s", output_path.name)
372
with open(output_path, mode=mode) as f:
373
- for chunk in response.iter_content():
+ for chunk in response.iter_content(chunk_size=None):
374
f.write(chunk)
375
logger.debug("Download of %s completed", output_path.name)
376
0 commit comments