Skip to content

Commit

Permalink
Use CIMultiDict instead of dict for type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaensch committed Feb 19, 2018
1 parent 98bae73 commit f6dda97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bravado_asyncio/response_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from typing import TypeVar

from bravado_core.response import IncomingResponse
from multidict import CIMultiDict

from bravado_asyncio.definitions import AsyncioResponse

Expand Down Expand Up @@ -42,7 +43,7 @@ def reason(self) -> str:
return self._delegate.reason

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

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

0 comments on commit f6dda97

Please sign in to comment.