Skip to content

Commit a0c9fe5

Browse files
author
Hitesh Tolani
committed
Fixed utils.py
1 parent b64e00c commit a0c9fe5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

torchgeo/datasets/utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ def download_radiant_mlhub_dataset(
192192

193193

194194
def download_radiant_mlhub_collection(
195-
collection_id: str, download_root: Path, api_key: str | None = None
195+
collection_id: str,
196+
download_root: Union[pathlib.Path, str],
197+
api_key: str | None = None,
196198
) -> None:
197199
"""Download a collection from Radiant Earth.
198200

0 commit comments

Comments
 (0)