  from libcpp.string cimport string
  from libcpp.vector cimport vector
  
  cdef extern from "common/params.h":
    cpdef enum ParamKeyType:
      PERSISTENT
 
</s> remove from openpilot.common.params import Params
 </s> add from openpilot.common.params import Params, put_nonblocking </s> remove from openpilot.common.params import Params
 </s> add from openpilot.common.params import Params, put_bool_nonblocking </s> remove   def put_nonblocking(self, key, dat):
    cdef string k = self.check_key(key)
    cdef string dat_bytes = ensure_bytes(dat)
    with nogil:
      self.p.putNonBlocking(k, dat_bytes)

  def put_bool_nonblocking(self, key, bool val):
    cdef string k = self.check_key(key)
    with nogil:
      self.p.putBoolNonBlocking(k, val)

 </s> add  </s> remove from openpilot.common.params import Params
 </s> add from openpilot.common.params import Params, put_nonblocking </s> remove from openpilot.common.params import Params, ParamKeyType, UnknownKeyName
 </s> add from openpilot.common.params import Params, ParamKeyType, UnknownKeyName, put_nonblocking, put_bool_nonblocking
import threading
  from libcpp.string cimport string
  from libcpp.vector cimport vector
import threading
  
  cdef extern from "common/params.h":
    cpdef enum ParamKeyType:
      PERSISTENT
keep add keep keep keep keep
 Revert "params: safe and efficient async writing parameters (#25912)"

This reverts commit 0d797f4e8b2552192669d0329c14849f0a970066. 
common/params_pyx.pyx