Clears the entire cache. To be used when some event results in unknown invalidations across this particular `DataLoader`. Returns itself for method chaining.
(self)
| 147 | return self |
| 148 | |
| 149 | def clear_all(self): |
| 150 | """ |
| 151 | Clears the entire cache. To be used when some event results in unknown |
| 152 | invalidations across this particular `DataLoader`. Returns itself for |
| 153 | method chaining. |
| 154 | """ |
| 155 | self._cache.clear() |
| 156 | return self |
| 157 | |
| 158 | def prime(self, key, value): |
| 159 | """ |