reset the cache for this :class:`.Inspector`. Inspection methods that have data cached will emit SQL queries when next called to get new data. .. versionadded:: 2.0
(self)
| 268 | self.info_cache = {} |
| 269 | |
| 270 | def clear_cache(self) -> None: |
| 271 | """reset the cache for this :class:`.Inspector`. |
| 272 | |
| 273 | Inspection methods that have data cached will emit SQL queries |
| 274 | when next called to get new data. |
| 275 | |
| 276 | .. versionadded:: 2.0 |
| 277 | |
| 278 | """ |
| 279 | self.info_cache.clear() |
| 280 | |
| 281 | @classmethod |
| 282 | @util.deprecated( |