()
| 244 | self._approvals.delete_uids(task.approvals) |
| 245 | |
| 246 | def get_agents() -> Iterable[admin_storage.PedmStorageAgent]: |
| 247 | if task.full_rebuild: |
| 248 | yield from self.storage.agents.get_all_entities() |
| 249 | if task.agents is not None: |
| 250 | for agent_uid in task.agents: |
| 251 | a = self.storage.agents.get_entity(agent_uid) |
| 252 | if a is not None: |
| 253 | yield a |
| 254 | |
| 255 | ags: List[admin_types.PedmAgent] = [] |
| 256 | for agent_dto in get_agents(): |
nothing calls this directly
no test coverage detected