Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _update_params(self):
if self.params.dirtiness == 2:
driver.set_ssp_params(*[self.params[k]
for k in self.params.ssp_params])
if self.params.dirtiness >= 1:
driver.set_csp_params(*[self.params[k]
for k in self.params.csp_params])
self.params.dirtiness = 0