code: def assemble_notification_request(method, params=tuple()):
          
          if not isinstance(method, (str, unicode)):
              raise TypeError('"method" must be a string (or unicode string).')
          if not isinstance(params, (tuple, list)):
              raise TypeError("params must be a tuple/list.")
  
          return {
              "method": method,
              "params": params,
              "id": None
          }
docs: serialize a JSON-RPC-Notification
  
          :Parameters: see dumps_request
          :Returns:   | {"method": "...", "params": ..., "id": null}
                      | "method", "params" and "id" are always in this order.
          :Raises:    see dumps_request