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

Function progress

tests/lib/tools/test_session_runner.py:890–892  ·  view source on GitHub ↗
(_session: object)

Source from the content-addressed store, hash-verified

888 calls: tuple[Call, ...], input: list[Step], started: list[str], thread: str
889) -> None:
890 def progress(_session: object) -> list[Step]:
891 actions = ("process_input", "write_server_result", "require_action", "end_turn")
892 return [*((action, thread) for action in actions), ("end_turn",)]
893
894 emitted = emitting(*(replace(call, thread=thread) for call in calls))
895 steps = [*emitted, *timed(5, input), *((at, progress) for at in range(2, 22))]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected