MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / DummyWorkerQueue

Class DummyWorkerQueue

tests/splitwise/test_splitwise_connector.py:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64class DummyWorkerQueue:
65 def __init__(self) -> None:
66 self.cache_info_calls: List[List[Dict[str, Any]]] = []
67 self.disaggregated_calls: List[Any] = []
68
69 def put_cache_info(self, cache_info: List[Dict[str, Any]]) -> None:
70 self.cache_info_calls.append(cache_info)
71
72 def put_disaggregated_tasks(self, payload: Any) -> None:
73 self.disaggregated_calls.append(payload)
74
75
76class DummyTask:

Callers 2

_build_connectorFunction · 0.85

Calls

no outgoing calls

Tested by 2

_build_connectorFunction · 0.68