You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself making a wrapper for the Client object to implement taking an httpx.Timeout object.
It would be cool if the generated Client objects took an float as it does today but also accepted the httpx.Timeout type for the timeout keyword argument.
httpx's Timeout is nice because it lets you configure specific timeouts for read/write/connect/global.
I'm willing to make the PR, wanted to gauge interest or if the maintainer will consider this before I go and do it.
The text was updated successfully, but these errors were encountered:
Should be a pretty simple change, just tweaking the type hints as far as I can tell. This may be better served waiting until #202 is implemented, however
I find myself making a wrapper for the Client object to implement taking an
httpx.Timeout
object.It would be cool if the generated Client objects took an
float
as it does today but also accepted thehttpx.Timeout
type for the timeout keyword argument.httpx's
Timeout
is nice because it lets you configure specific timeouts for read/write/connect/global.I'm willing to make the PR, wanted to gauge interest or if the maintainer will consider this before I go and do it.
The text was updated successfully, but these errors were encountered: