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

Method get_platform

tests/test_open_telemetry.py:2411–2413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected