Skip to content

Conversation

silentworks
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix to expose verify via the ClientOptions through the httpx_options config.

from supabase import create_client, ClientOptions

supabase = create_client(
  url, 
  anon_key, 
  options=ClientOptions(httpx_options={"verify": False})
)

What is the current behavior?

There is no way to set the verify flag from the supabase python library.

What is the new behavior?

You can now set the verify flag from the supabase python library

Additional context

#1086

@silentworks silentworks requested a review from grdsdev March 31, 2025 16:32
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14176586988

Details

  • 8 of 9 (88.89%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.03%) to 85.856%

Changes Missing Coverage Covered Lines Changed/Added Lines %
supabase/lib/client_options.py 5 6 83.33%
Files with Coverage Reduction New Missed Lines %
supabase/lib/client_options.py 1 84.81%
Totals Coverage Status
Change from base Build 14094370943: 0.03%
Covered Lines: 346
Relevant Lines: 403

💛 - Coveralls

@silentworks
Copy link
Contributor Author

Do not merge as yet, we are looking into a better option which won't need us replicating httpx options.

@grdsdev grdsdev self-requested a review April 29, 2025 10:34
Copy link
Contributor

@grdsdev grdsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking until better option

@silentworks
Copy link
Contributor Author

Closing in favor of #1117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants