test/apps/_aiohttp/__init__.py
def run_server(app: web.Application, port: int, timeout: float = 0.05) -> None:
    """Start a thread with the given aiohttp application."""
    server_thread = threading.Thread(target=_run_server, args=(app, port))
    server_thread.daemon = True
    server_thread.start()
    sleep(timeout)
Start a thread with the given aiohttp application.
Start a thread with the given aiohttp application.
Start a thread with the given aiohttp application .
def run_server(app: web.Application, port: int, timeout: float = 0.05) -> None:
    server_thread = threading.Thread(target=_run_server, args=(app, port))
    server_thread.daemon = True
    server_thread.start()
    sleep(timeout)
def run_server ( app : web . Application , port : int , timeout : float = 0.05 ) -> None : server_thread = threading . Thread ( target = _run_server , args = ( app , port ) ) server_thread . daemon = True server_thread . start ( ) sleep ( timeout )
Start a thread with the given aiohttp application.
Start a thread with the given aiohttp application .
"""Start a thread with the given aiohttp application."""
app
web.Application
port
int
timeout
float