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

Function in_a_cycle

tests/utils.py:273–276  ·  view source on GitHub ↗

Drops `held` in a way that leaves it to the garbage collector to free it.

(held: object)

Source from the content-addressed store, hash-verified

271
272
273def in_a_cycle(held: object) -> None:
274 """Drops `held` in a way that leaves it to the garbage collector to free it."""
275 cycle = [held]
276 cycle.append(cycle)
277
278
279def collect(client: Anthropic) -> None:

Callers 2

collectFunction · 0.85
async_collectFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected