diff --git a/slkspec/core.py b/slkspec/core.py index 9bf76ee..8d29a2f 100644 --- a/slkspec/core.py +++ b/slkspec/core.py @@ -12,7 +12,6 @@ from typing import ( IO, Any, - AnyStr, Dict, List, Literal, @@ -226,7 +225,7 @@ def seekable() -> Literal[True]: """Compatibility method.""" return True - def read(self, size: int = -1) -> AnyStr: + def read(self, size: int = -1) -> Any: """The the content of a file-stream. size: int, default: -1