Skip to content

Commit

Permalink
Refine argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed Oct 5, 2024
1 parent 17542d7 commit ab066bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _open_files(
fs: fsspec.AbstractFileSystem,
threads: int = 8,
) -> List[fsspec.spec.AbstractBufferedFile]:
def multi_thread_open(data: tuple) -> EarthAccessFile:
def multi_thread_open(data: tuple[str, Optional[DataGranule]]) -> EarthAccessFile:
url, granule = data
return EarthAccessFile(fs.open(url), granule) # type: ignore

Expand Down

0 comments on commit ab066bc

Please sign in to comment.