Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/core/azure-core/azure/core/pipeline/transport/_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,6 @@ def __getstate__(self):
state = self.__dict__.copy()
# Remove the unpicklable entries.
state['internal_response'] = None # aiohttp response are not pickable (see headers comments)
from multidict import MultiDict # I know it's importable since aiohttp is loaded
state['headers'] = MultiDict(self.headers) # MultiDictProxy is not pickable
from multidict import CIMultiDict # I know it's importable since aiohttp is loaded
state['headers'] = CIMultiDict(self.headers) # MultiDictProxy is not pickable
return state