Skip to content

Commit

Permalink
Fix dss download docstring to use correct flags (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
chmreid committed Nov 7, 2019
1 parent 8008c51 commit c3b6af3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hca/dss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,11 @@ def download(self,
:param float min_delay_seconds: The minimum number of seconds to wait in between retries.
Download a bundle and save it to the local filesystem as a directory.
By default, all data and metadata files are downloaded. To disable the downloading of data files,
use `--data-files ''` if using the CLI (or `data_files=()` if invoking `download` programmatically).
Likewise for metadata files.
By default, all data and metadata files are downloaded. To disable the downloading of data, use the
`--no-data` flag if using the CLI or pass the `no_data=True` argument if calling the `download()` API method.
Likewise, to disable the downloading of metadata, use the `--no-metadata` flag for the CLI or pass the
`no_metadata=True` argument if calling the `download()` API method.
If a retryable exception occurs, we wait a bit and retry again. The delay increases each time we fail and
decreases each time we successfully read a block. We set a quota for the number of failures that goes up with
Expand Down

0 comments on commit c3b6af3

Please sign in to comment.