Skip to content

Commit

Permalink
Change type hint of 'paths' to Iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantre committed Sep 28, 2023
1 parent 2af2e92 commit 971b52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def dtype(self) -> torch.dtype:

def __init__(
self,
paths: Union[str, list[str]] = "data",
paths: Union[str, Iterable[str]] = "data",
crs: Optional[CRS] = None,
res: Optional[float] = None,
bands: Optional[Sequence[str]] = None,
Expand Down

0 comments on commit 971b52c

Please sign in to comment.