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

Method some_of

tests/test_open_telemetry.py:6554–6555  ·  view source on GitHub ↗
(parts: list[Part])

Source from the content-addressed store, hash-verified

6552 return {key: to_json(value) for key, value in values.items()}, truncated
6553
6554 def some_of(parts: list[Part]) -> list[Part]:
6555 return parts[random.randrange(len(parts) + 1) :]
6556
6557 random = Random(613)
6558 for _ in range(500):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected