Skip to content

Commit f6fd6ce

Browse files
authored
Update docstrings (#127)
1 parent 96a0298 commit f6fd6ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stactask/task.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ def download_item_assets(
251251
252252
Args:
253253
item (pystac.Item): STAC Item for which assets need be downloaded.
254-
assets (Optional[list[str]]): List of asset keys to download.
255-
Defaults to all assets.
256254
path_template (Optional[str]): String to be interpolated to specify
257255
where to store downloaded files.
256+
config (Optional[DownloadConfig]): Configuration for downloading an item
257+
and its assets.
258258
keep_original_filenames (Optional[bool]): Controls whether original
259259
file names should be used, or asset key + extension.
260260
file_name (Optional[str]): The name of the item file to save.
@@ -284,10 +284,10 @@ def download_items_assets(
284284
Args:
285285
items (list[pystac.Item]): List of STAC Items for which assets need
286286
be downloaded.
287-
assets (Optional[list[str]]): List of asset keys to download.
288-
Defaults to all assets.
289287
path_template (Optional[str]): String to be interpolated to specify
290288
where to store downloaded files.
289+
config (Optional[DownloadConfig]): Configuration for downloading items
290+
and their assets.
291291
keep_original_filenames (Optional[bool]): Controls whether original
292292
file names should be used, or asset key + extension.
293293
file_name (Optional[str]): The name of the item file to save.

0 commit comments

Comments
 (0)