Method
runs
(
self,
schedule_id: str,
*,
fleet_id: str | None = None,
limit: int = 50,
cursor: str | None = None,
)
Source from the content-addressed store, hash-verified
| 131 | return (await self._unary(req)).manual_trigger_resp |
| 132 | |
| 133 | async def runs( |
| 134 | self, |
| 135 | schedule_id: str, |
| 136 | *, |
| 137 | fleet_id: str | None = None, |
| 138 | limit: int = 50, |
| 139 | cursor: str | None = None, |
| 140 | ) -> ScheduleRunList: |
| 141 | fid = self._fleet(fleet_id) |
| 142 | req = pb.Envelope( |
| 143 | schedule_runs_req=s_pb.ScheduleRunsRequest( |
| 144 | fleet_id=fid, schedule_id=str(schedule_id), limit=limit, cursor=cursor or "" |
| 145 | ) |
| 146 | ) |
| 147 | return (await self._unary(req)).schedule_run_list |
| 148 | |
| 149 | # -- pagination -------------------------------------------------------- |
| 150 | |
Tested by
no test coverage detected