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

Method _spin

examples/memory/basic.py:61–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 print("\r" + " " * (len(self.message) + 10) + "\r", end="", flush=True)
60
61 def _spin(self):
62 chars = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏"
63 i = 0
64 while self.spinning:
65 print(f"\r{self.message} {chars[i % len(chars)]}", end="", flush=True)
66 i += 1
67 time.sleep(0.1)
68
69
70def conversation_loop():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected