supabase-py Deprecations & Breaking Changes
Verified AST deprecations and code replacement rules for supabase-py.
⚡ Free Example Preview (1 of 1): supabase.create_client → supabase.create_client
Deprecated in v2.0.0Supabase client initialization requires explicit SupabaseClientOptions parameter for headers.
❌ Outdated Syntax
from supabase import create_client
client = create_client('url', 'key')
✅ Modern Replacement Syntax
from supabase import create_client, ClientOptions
client = create_client('url', 'key', options=ClientOptions(auto_refresh_token=True))