| 62 | |
| 63 | |
| 64 | class 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 | |
| 76 | class DummyTask: |
no outgoing calls