Skip to content

Commit

Permalink
Merge pull request #18 from aoki-h-jp/feature/1.0.5/add-download-list
Browse files Browse the repository at this point in the history
Add downloaded_list
  • Loading branch information
aoki-h-jp authored Sep 1, 2023
2 parents 04965f5 + 8800e61 commit 2d03716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binance_bulk_downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def __init__(
self._timeperiod_per_file = timeperiod_per_file
self.marker = None
self.is_truncated = True
self.downloaded_list = []

def _check_params(self) -> None:
"""
Expand Down Expand Up @@ -330,3 +331,4 @@ def run_download(self):
):
with ThreadPoolExecutor() as executor:
executor.map(self._download, prefix_chunk)
self.downloaded_list.extend(prefix_chunk)

0 comments on commit 2d03716

Please sign in to comment.