Skip to content

Commit

Permalink
added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Mar 7, 2023
1 parent 5a82d50 commit b75ab69
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ def __init__(
self.request_timeout: int = request_timeout

client_args: dict[str, Any] = {
# NOTE: the default httpx pool limit configurations look good
# https://www.python-httpx.org/advanced/#pool-limit-configuration
# instruct the remote uvicorn web server to close the connections
# https://www.uvicorn.org/server-behavior/#http-headers
"headers": {
"Connection": "Close",
}
Expand Down

0 comments on commit b75ab69

Please sign in to comment.