parameters: (self, **kwargs)
docstring: Provide the user-defined callback function with additional metadata
          from the view.
docstring_summary: Provide the user-defined callback function with additional metadata
          from the view.
docstring_tokens: Provide the user - defined callback function with additional metadata from the view .
function: def _wrapped_on_update_callback(self, **kwargs):
          """Provide the user-defined callback function with additional metadata
          from the view.
          """
          mode = kwargs["mode"]
          port_id = kwargs["port_id"]
          cache = kwargs["cache"]
          callback = kwargs["callback"]
  
          if cache.get(port_id) is None:
              cache[port_id] = {}
  
          if mode == "row":
              if cache[port_id].get("row_delta") is None:
                  cache["row_delta"] = self._get_row_delta()
              callback(port_id, cache["row_delta"])
          else:
              callback(port_id)
function_tokens: def _wrapped_on_update_callback ( self , * * kwargs ) : mode = kwargs [ "mode" ] port_id = kwargs [ "port_id" ] cache = kwargs [ "cache" ] callback = kwargs [ "callback" ] if cache . get ( port_id ) is None : cache [ port_id ] = { } if mode == "row" : if cache [ port_id ] . get ( "row_delta" ) is None : cache [ "row_delta" ] = self . _get_row_delta ( ) callback ( port_id , cache [ "row_delta" ] ) else : callback ( port_id )