Skip to content

feat: allow injection of httpx client #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

silentworks
Copy link
Collaborator

What kind of change does this PR introduce?

Allow developers to supply their own httpx client

What is the current behavior?

Httpx client isn't very configurable and has limited options available for the developer

What is the new behavior?

Httpx client can now be configured by the developer and be supplied to the functions library

Additional context

Add any other context or screenshots.

@coveralls
Copy link

coveralls commented May 12, 2025

Pull Request Test Coverage Report for Build 15031697230

Details

  • 24 of 26 (92.31%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.8%) to 98.182%

Changes Missing Coverage Covered Lines Changed/Added Lines %
supabase_functions/_async/functions_client.py 12 13 92.31%
supabase_functions/_sync/functions_client.py 12 13 92.31%
Totals Coverage Status
Change from base Build 14478739541: -0.8%
Covered Lines: 216
Relevant Lines: 220

💛 - Coveralls

@silentworks silentworks requested a review from grdsdev May 15, 2025 07:33
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.

2 participants