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

Conversation

anand2312
Copy link
Contributor

This PR adds:

  • sync/async support with unasync and httpx, as implemented in postgrest-py
  • File API actions can now be used on Bucket objects as well
    Example:
from storage3 import create_client

client = create_client(url, headers, is_async=False)
client.from_("test").list()  # lists files in `test` bucket

bucket = client.get_bucket("test")
# an instance of SyncBucket/AsyncBucket
bucket.list()  # works just like client.from_().list()

@anand2312
Copy link
Contributor Author

anand2312 commented Apr 4, 2022

@J0 @leynier could you give this a review when you can? 😄

@anand2312 anand2312 merged commit 75c9c43 into supabase:main Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants