Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/requests-cache/requests-cache
/ __setstate__
Method
__setstate__
tests/unit/test_base_cache.py:40–41 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
38
self.foo =
'bar'
39
40
def
__setstate__(self, value):
41
raise
ValueError(
'Invalid response!'
)
42
43
44
def
test_contains__key(mock_session):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected