Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 8dbd29a

Browse files
authored
Merge pull request #143 from supabase-community/j0/patch_remove_type
fix: patch type on remove
2 parents eaf869a + 14be266 commit 8dbd29a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage3/_async/file_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ async def copy(self, from_path: str, to_path: str) -> dict[str, str]:
258258
)
259259
return res.json()
260260

261-
async def remove(self, paths: list) -> dict[str, str]:
261+
async def remove(self, paths: list) -> list[dict[str, any]]:
262262
"""
263263
Deletes files within the same bucket
264264

storage3/_sync/file_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def copy(self, from_path: str, to_path: str) -> dict[str, str]:
258258
)
259259
return res.json()
260260

261-
def remove(self, paths: list) -> dict[str, str]:
261+
def remove(self, paths: list) -> list[dict[str, any]]:
262262
"""
263263
Deletes files within the same bucket
264264

0 commit comments

Comments
 (0)