Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ close
Method
close
tests/utils.py:205–206 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
203
204
@override
205
def
close(self) -> None:
206
self.closes += 1
207
208
@override
209
async
def
aclose(self) -> None:
Callers
10
aclose
Method · 0.95
test_base_url_trailing_slash
Method · 0.45
test_base_url_no_trailing_slash
Method · 0.45
test_absolute_request_url
Method · 0.45
test_default_stream_cls
Method · 0.45
test_base_url_trailing_slash
Method · 0.45
test_base_url_no_trailing_slash
Method · 0.45
test_absolute_request_url
Method · 0.45
test_streaming_flows_through_middleware
Method · 0.45
test_streaming_error_response_is_visible_to_middleware
Method · 0.45
Calls
no outgoing calls
Tested by
9
test_base_url_trailing_slash
Method · 0.36
test_base_url_no_trailing_slash
Method · 0.36
test_absolute_request_url
Method · 0.36
test_default_stream_cls
Method · 0.36
test_base_url_trailing_slash
Method · 0.36
test_base_url_no_trailing_slash
Method · 0.36
test_absolute_request_url
Method · 0.36
test_streaming_flows_through_middleware
Method · 0.36
test_streaming_error_response_is_visible_to_middleware
Method · 0.36