graphql-python/gql

Add retry logic to httpx Transport

mdlam92 opened this issue · 4 comments

It would be dope if the httpx Transport had support for retry logic like the requests one does.

For which transport, the sync or async one? HTTPXTransport or HTTPXAsyncTransport?

I personally only use the synchronous one. But I'm sure folks would like support in both.

For async only:

  • you can use a permanent session for which retries are enabled by default and can be configured.

For sync and async:

Oh nice, this is awesome. Exactly what I was looking for! Thanks ❤️