Soft-disable (not delete).
(self, machine_id: str)
| 60 | raise ValueError("limit must be between 1 and 500") |
| 61 | request = pb.ListMachineMessagesRequest(machine_id=str(machine_id)) |
| 62 | if session is not None: |
| 63 | request.session = session |
| 64 | if limit is not None: |
| 65 | request.limit = limit |
| 66 | response = await self._unary(pb.Envelope(list_machine_messages_req=request)) |
| 67 | return response.machine_message_list |