Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ pickle_round_trip
Function
pickle_round_trip
tests/test_exceptions.py:33–34 ·
view source on GitHub ↗
(error: AnthropicError)
Source
from the content-addressed store, hash-verified
31
32
33
def
pickle_round_trip(error: AnthropicError) -> AnthropicError:
34
return
pickle.loads(pickle.dumps(error))
35
36
37
parametrize_duplicate = pytest.mark.parametrize(
Callers
1
test_pickled_status_error_loads_as_its_own_class
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected