Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kramstrom committed Sep 5, 2024
1 parent f06e475 commit eec6f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/web_server_proxy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest
import socket
from dataclasses import dataclass
from typing import List
from typing import Any, Dict, List

import pytest_asyncio
from aiohttp.web import Application
Expand Down Expand Up @@ -70,9 +70,9 @@ async def hello(request):

@contextlib.asynccontextmanager
async def lifespan_ctx_manager(asgi_app):
state = {}
state: Dict[str, Any] = {}

q = asyncio.Queue()
q: asyncio.Queue[Dict[str, Any]] = asyncio.Queue()
startup: asyncio.Future[None] = asyncio.Future()
shutdown: asyncio.Future[None] = asyncio.Future()

Expand Down

0 comments on commit eec6f12

Please sign in to comment.