Skip to content

Commit

Permalink
Merge pull request #585 from devinem4/patch-1
Browse files Browse the repository at this point in the history
README / Storage -- Update `delete` file to `remove` file
  • Loading branch information
J0 authored Oct 10, 2023
2 parents 173dd46 + 9b1fd17 commit a0a4eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ new_file = getUserFile()
data = supabase.storage.from_(bucket_name).upload("/user1/profile.png", new_file)
```

### Delete a file
### Remove a file

```python
from supabase import create_client, Client
Expand All @@ -266,7 +266,7 @@ supabase: Client = create_client(url, key)

bucket_name: str = "photos"

data = supabase.storage.from_(bucket_name).delete(["old_photo.png", "image5.jpg"])
data = supabase.storage.from_(bucket_name).remove(["old_photo.png", "image5.jpg"])
```

### List all files
Expand Down

0 comments on commit a0a4eda

Please sign in to comment.