fix: add type annotations to BaseStorage.exists and BaseStorage.download (#32652)

Signed-off-by: edvatar <88481784+toroleapinc@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
edvatar 2026-02-26 17:35:30 -05:00 committed by GitHub
parent 5cb1b53b47
commit 2eefb585f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,11 +20,11 @@ class BaseStorage(ABC):
raise NotImplementedError
@abstractmethod
def download(self, filename, target_filepath):
def download(self, filename: str, target_filepath: str) -> None:
raise NotImplementedError
@abstractmethod
def exists(self, filename):
def exists(self, filename: str) -> bool:
raise NotImplementedError
@abstractmethod