MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / disable

Method disable

python/src/cmdop/resources/machines.py:62–65  ·  view source on GitHub ↗

Soft-disable (not delete).

(self, machine_id: str)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_unaryMethod · 0.80

Tested by

no test coverage detected