We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's the type signature of the httpx:AsyncClient.request method:
httpx:AsyncClient.request
async def request( self, method: str, url: URL | str, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | UseClientDefault | None = USE_CLIENT_DEFAULT, follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT, timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT, extensions: RequestExtensions | None = None, ) -> Response:
It's important that they use a custom type to indicate that no timeout is set. When you wrap their client here:
elevenlabs-python/src/elevenlabs/core/client_wrapper.py
Line 63 in 317b471
You use None as the default timeout, and pass the default timeout value to get here:
None
elevenlabs-python/src/elevenlabs/core/http_client.py
Line 352 in 317b471
httpx treats timeout=None as no timeout at all (not the client default timeout), and this means that we're seeing some stuck connections in our code.
timeout=None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's the type signature of the
httpx:AsyncClient.request
method:It's important that they use a custom type to indicate that no timeout is set. When you wrap their client here:
elevenlabs-python/src/elevenlabs/core/client_wrapper.py
Line 63 in 317b471
You use
None
as the default timeout, and pass the default timeout value to get here:elevenlabs-python/src/elevenlabs/core/http_client.py
Line 352 in 317b471
httpx treats
timeout=None
as no timeout at all (not the client default timeout), and this means that we're seeing some stuck connections in our code.The text was updated successfully, but these errors were encountered: