MCPcopy Create free account
hub / github.com/microsoft/TypeChat / ClientContext

Class ClientContext

python/examples/music/client.py:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22@dataclass(config=Config)
23class ClientContext:
24 service: AsyncSpotipy
25 userId: str
26 deviceId: Optional[str] = None
27 currentTrackList: Optional[list[SimplifiedTrackInfo]] = None
28 lastTrackStartIndex: Optional[int] = 0
29 lastTrackEndIndex: Optional[int] = -1
30
31
32async def get_client_context(vals: dict[str, str | None]) -> ClientContext:

Callers 1

get_client_contextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…