Skip to content

Commit

Permalink
Edited the web.run_app declaration. (#6401) (#6404)
Browse files Browse the repository at this point in the history
Co-authored-by: TiunovNN <Tiunov.li.174@gmail.com>
  • Loading branch information
patchback[bot] and TiunovNN committed Dec 14, 2021
1 parent 3001f96 commit 98ae7f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES/6401.doc
@@ -0,0 +1 @@
Edited the web.run_app declaration.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Expand Up @@ -226,6 +226,7 @@ Navid Sheikhol
Nicolas Braem
Nikolay Kim
Nikolay Novik
Nikolay Tiunov
Nándor Mátravölgyi
Oisin Aylward
Olaf Conradi
Expand Down
4 changes: 2 additions & 2 deletions aiohttp/web.py
Expand Up @@ -290,7 +290,7 @@ async def _run_app(
host: Optional[Union[str, HostSequence]] = None,
port: Optional[int] = None,
path: Optional[str] = None,
sock: Optional[socket.socket] = None,
sock: Optional[Union[socket.socket, TypingIterable[socket.socket]]] = None,
shutdown_timeout: float = 60.0,
keepalive_timeout: float = 75.0,
ssl_context: Optional[SSLContext] = None,
Expand Down Expand Up @@ -463,7 +463,7 @@ def run_app(
host: Optional[Union[str, HostSequence]] = None,
port: Optional[int] = None,
path: Optional[str] = None,
sock: Optional[socket.socket] = None,
sock: Optional[Union[socket.socket, TypingIterable[socket.socket]]] = None,
shutdown_timeout: float = 60.0,
keepalive_timeout: float = 75.0,
ssl_context: Optional[SSLContext] = None,
Expand Down

0 comments on commit 98ae7f3

Please sign in to comment.