Supabase-py maintainer here. Thanks for the question! Supabase Storage makes use of Row Level Security(RLS) policies under the hood and will only show buckets that the client can view. If there are no buckets that a client can view it will return an empty list.
Could you check your Supabase Dashboard settings and ensure that you have a policy to allow for buckets for be read? At time of writing you'd do this by going to:
Supabase > Storage > Policies > Policies under Storage.buckets
Do ensure that you have a policy which allows for read access.
Here's an example for a read policy as taken from the Javascript library documentation. Do remember to change public
to the name of your bucket.
-- 1. Allow public access to any files in the "public" bucket
create policy "Public Access"
on storage.objects for select
using ( bucket_id = 'public' );
You can also configure the policy to restrict reads to authenticated users or users with other attributes. There's a list of example policy templates that you can reference - you should be able to see a tab with examples after clicking on create new policy.
Hope this helps and let me know if there are still issues.