Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _get_grid_stats(self):
if self.params.dirty:
self._compute_csp()
if self._stats is None:
self._stats = driver.get_stats(driver.get_ntfull(),driver.get_nemline())
return self._stats