Skip to content

Commit

Permalink
Merge pull request #143 from supabase-community/j0/patch_remove_type
Browse files Browse the repository at this point in the history
fix: patch type on remove
  • Loading branch information
J0 authored Sep 15, 2023
2 parents eaf869a + 14be266 commit 8dbd29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage3/_async/file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async def copy(self, from_path: str, to_path: str) -> dict[str, str]:
)
return res.json()

async def remove(self, paths: list) -> dict[str, str]:
async def remove(self, paths: list) -> list[dict[str, any]]:
"""
Deletes files within the same bucket
Expand Down
2 changes: 1 addition & 1 deletion storage3/_sync/file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def copy(self, from_path: str, to_path: str) -> dict[str, str]:
)
return res.json()

def remove(self, paths: list) -> dict[str, str]:
def remove(self, paths: list) -> list[dict[str, any]]:
"""
Deletes files within the same bucket
Expand Down

0 comments on commit 8dbd29a

Please sign in to comment.