diff --git a/dlt/common/storages/fsspec_filesystem.py b/dlt/common/storages/fsspec_filesystem.py index e70298212c..1eabb0d01b 100644 --- a/dlt/common/storages/fsspec_filesystem.py +++ b/dlt/common/storages/fsspec_filesystem.py @@ -223,7 +223,7 @@ def read_bytes(self) -> bytes: ) -def guess_mime_type(file_name: str) -> Tuple[str]: +def guess_mime_type(file_name: str) -> Sequence[Optional[str], Optional[str]]: return mimetypes.guess_type(posixpath.basename(file_name), strict=False) or ( "application/" + (posixpath.splitext(file_name)[1][1:] or "octet-stream"), None,