-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
pythonPull requests that update Python codePull requests that update Python code
Description
Hello everyone 👋
Because the SyncFunctionsClient
verify argument is cast to bool
, it's not possible to pass down an SSL Context to the underlying httpx.Client
.
This can be problematic when working with custom certificates in corporate environments.
SyncFunctionsClient
verify=bool(verify), |
httpx.Client
# the verify arg of `httpx.Client` accepts ssl.SSLContext
verify: ssl.SSLContext | str | bool = True,
proposed fix
A trivial fix would be to remove the bool()
cast. I'll open a PR for discussion.
Cheers,
Andreas
Metadata
Metadata
Assignees
Labels
pythonPull requests that update Python codePull requests that update Python code