MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / get_platform

Method get_platform

tests/test_open_telemetry.py:2410–2412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2408 threads: list[threading.Thread] = []
2409
2410 def get_platform() -> str:
2411 threads.append(threading.current_thread())
2412 return "Linux"
2413
2414 monkeypatch.setattr(_base_client, "get_platform", get_platform)
2415 cast(Any, _base_client.platform_headers).cache_clear()

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected