Skip to content

Conversation

@mattgd
Copy link
Contributor

@mattgd mattgd commented Jan 13, 2025

Description

Don't overwrite default transport, so proxies can be set via environment variables. Tested and confirmed requests work as usual with no proxy, and are proxies properly when setting HTTPS_PROXY and ALL_PROXY environment variables.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@mattgd mattgd self-assigned this Jan 13, 2025
@linear
Copy link

linear bot commented Jan 13, 2025

@mattgd mattgd changed the title Don't overwrite transport by default proxies can be set via environment variables Don't overwrite default transport so proxies can be set via environment variables Jan 13, 2025
@mattgd mattgd marked this pull request as ready for review January 13, 2025 21:51
@mattgd mattgd requested a review from a team as a code owner January 13, 2025 21:51
@mattgd mattgd merged commit 0da879b into main Jan 13, 2025
5 checks passed
@mattgd mattgd deleted the feature/dsync-2430-add-http-proxy-support-to-python-sdk branch January 13, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants