jack 2 veckor sedan
förälder
incheckning
4586bf757e
2 ändrade filer med 2 tillägg och 5 borttagningar
  1. 1 4
      app/providers/r2r.py
  2. 1 1
      app/services/file/impl/base.py

+ 1 - 4
app/providers/r2r.py

@@ -107,10 +107,7 @@ class R2R:
         else:
             return []
 
-    def list_chunks(
-        self,
-        ids: list[str] = None,
-    ):
+    def list_chunks(self, ids: Optional[list[str]] = None):
         self._check_login_sync()
         print(
             "retrieve_documentsretrieve_documentsretrieve_documentsretrieve_documentsretrieve_documents"

+ 1 - 1
app/services/file/impl/base.py

@@ -74,5 +74,5 @@ class BaseFileService(ABC):
 
     @staticmethod
     @abstractmethod
-    def list_chunks(ids: list[str]) -> dict:
+    def list_chunks(ids: Optional[list[str]] = None) -> dict:
         pass