Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
I'm encountering a TypeError
while using supabase-py 2.8.1
in combination with gotrue 2.9.1
. The error message is as follows:
TypeError: Client.__init__() got an unexpected keyword argument 'proxy'
This occurs when trying to create a Supabase client using the create_client
method. It seems to be related to a change introduced in gotrue 2.9.1
.
To Reproduce
Steps to reproduce the behavior:
- Install the following package versions:
pip install gotrue==2.9.1 pip install supabase==2.8.1
- Attempt to create a Supabase client with the following code:
from supabase import create_client, Client url = SUPABASE_URL key = SUPABASE_SECRET supabase: Client = create_client(url, key)
- The error
TypeError: Client.__init__() got an unexpected keyword argument 'proxy'
is raised.
Expected behavior
The Supabase client should initialize successfully without raising a TypeError
.
Screenshots
System information
- OS: macOS
- Version of supabase-py: 2.8.1
- Version of gotrue: 2.9.1
- Python version: 3.10
Additional context
The issue does not occur when downgrading to gotrue 2.8.1
, so this appears to be a bug related to the latest release of gotrue 2.9.1
.