The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix examples
Anand5007a96276bb
diff --git a/spec/supabase_py_v2.yml b/spec/supabase_py_v2.ymlindex b2905a29b8f..5e3cf4277bb 100644--- a/spec/supabase_py_v2.yml+++ b/spec/supabase_py_v2.yml@@ -672,7 +672,7 @@ functions:name: List bucketscode: |```- res = supabase.storage().list_buckets()+ res = supabase.storage.list_buckets()```- id: get-bucket@@ -687,7 +687,7 @@ functions:name: Get bucketcode: |```- res = supabase.storage().get_bucket(name)+ res = supabase.storage.get_bucket(name)```- id: create-bucket@@ -702,7 +702,7 @@ functions:name: Create bucketcode: |```- res = supabase.storage().create_bucket(name)+ res = supabase.storage.create_bucket(name)```- id: empty-bucket@@ -717,7 +717,7 @@ functions:name: Empty bucketcode: |```- res = supabase.storage().empty_bucket(name)+ res = supabase.storage.empty_bucket(name)```- id: delete-buckettitle: 'delete_bucket()'@@ -731,7 +731,7 @@ functions:name: Delete bucketcode: |```- res = supabase.storage().delete_bucket(name)+ res = supabase.storage.delete_bucket(name)```- id: from-upload@@ -747,7 +747,7 @@ functions:code: |```with open(source, 'rb+') as f:- res = supabase.storage().from_('bucket').upload(destination, os.path.abspath(source))+ res = supabase.storage.from_('bucket').upload(destination, f)```- id: from-movetitle: 'from_.move()'@@ -761,7 +761,7 @@ functions:name: Move filecode: |```- res = supabase.storage().from_(bucket).move('public/avatar1.png', 'private/avatar2.png')+ res = supabase.storage.from_(bucket).move('public/avatar1.png', 'private/avatar2.png')```- id: from-create-signed-url@@ -776,7 +776,7 @@ functions:name: Create Signed URLcode: |```- res = supabase.storage().from_(bucket_name).create_signed_url(filepath, expiry_duration)+ res = supabase.storage.from_(bucket_name).create_signed_url(filepath, expiry_duration)```- id: from-get-public-url@@ -792,7 +792,7 @@ functions:name: Returns the URL for an asset in a public bucketcode: |```- res = supabase.storage().from_(bucket_name).get_public_url('test/avatar1.jpg')+ res = supabase.storage.from_(bucket_name).get_public_url('test/avatar1.jpg')```- id: from-download@@ -808,7 +808,7 @@ functions:code: |```with open(destination, 'wb+') as f:- res = supabase.storage().from_(bucket_name).download(source)+ res = supabase.storage.from_(bucket_name).download(source)f.write(res)```@@ -824,7 +824,7 @@ functions:name: Delete filecode: |```- res = supabase.storage().from_('test').remove('test.jpg')+ res = supabase.storage.from_('test').remove('test.jpg')```- id: from-listtitle: 'from_.list()'@@ -838,9 +838,9 @@ functions:name: List files in a bucketcode: |```- res = supabase.storage().from_('test').list()+ res = supabase.storage.from_('test').list()```- id: subscribetitle: on().subscribe()notes: |- - We are implementing this feature at the moment. If you have queries feel free to open an issue on the [realtime-py](https://github.com/supabase-community) repository.+ - We are implementing this feature at the moment. If you have queries feel free to open an issue on the [realtime-py](https://github.com/supabase-community/realtime-py) repository.