From 2eefb585f9c1b9e9226db11a16a10f75a8a94719 Mon Sep 17 00:00:00 2001 From: edvatar <88481784+toroleapinc@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:35:30 -0500 Subject: [PATCH] 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> --- api/extensions/storage/base_storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/extensions/storage/base_storage.py b/api/extensions/storage/base_storage.py index b987c7d253..a73d429ccd 100644 --- a/api/extensions/storage/base_storage.py +++ b/api/extensions/storage/base_storage.py @@ -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