Skip to content

Commit

Permalink
progress callback description added to download all see #21
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcazorla committed Jun 28, 2018
1 parent 5e36fe1 commit e1acf7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eodag/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ def sort_by_extent(searches):
def download_all(self, search_result, progress_callback=None):
"""Download all products resulting from a search.
progress_callback must be a method or a callable object which takes two parameters: current size and max size.
It must instantiate a progress bar and update it as the download progresses.
:param search_result: A collection of EO products resulting from a search
:type search_result: :class:`~eodag.api.search_result.SearchResult`
:param progress_callback: progress bar
Expand Down

0 comments on commit e1acf7c

Please sign in to comment.