Remove all entries from the queue.
(self, **kwargs)
| 165 | return name_to_remove |
| 166 | |
| 167 | def clear(self, **kwargs) -> list[str]: |
| 168 | """Remove all entries from the queue.""" |
| 169 | stash_revs = self.stash.stash_revs |
| 170 | name_to_remove = list(stash_revs) |
| 171 | self.stash.remove_revs(list(stash_revs.values())) |
| 172 | |
| 173 | return name_to_remove |
| 174 | |
| 175 | def status(self) -> list[dict[str, Any]]: |
| 176 | """Show the status of exp tasks in queue""" |