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

Method update

python/src/cmdop/resources/machines.py:54–60  ·  view source on GitHub ↗
(self, machine_id: str, name: str | None = None)

Source from the content-addressed store, hash-verified

52 async def messages(
53 self,
54 machine_id: str,
55 *,
56 session: str | None = None,
57 limit: int | None = None,
58 ) -> pb.MachineMessageList:
59 if limit is not None and not 1 <= limit <= 500:
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

Callers

nothing calls this directly

Calls 1

_unaryMethod · 0.80

Tested by

no test coverage detected