Skip to content

Commit

Permalink
Fix mypy failure due to the multidict package now having type
Browse files Browse the repository at this point in the history
annotations
  • Loading branch information
sjaensch committed Oct 25, 2020
1 parent 7da813a commit b39c22e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bravado_asyncio/response_adapter.py
Expand Up @@ -5,7 +5,7 @@
from typing import TypeVar

from bravado_core.response import IncomingResponse
from multidict import CIMultiDict
from multidict import CIMultiDictProxy

from bravado_asyncio.definitions import AsyncioResponse

Expand Down Expand Up @@ -46,7 +46,7 @@ def reason(self) -> str:
) # aiohttp 3.4.0 doesn't annotate this attribute correctly

@property
def headers(self) -> CIMultiDict:
def headers(self) -> CIMultiDictProxy[str]:
return self._delegate.headers

def json(self, **_: Any) -> Dict[str, Any]:
Expand Down

0 comments on commit b39c22e

Please sign in to comment.