code: def filter_data_values(data):
      
      banned = ('request',)
      return {key: val for key, val in data.items() if not key in banned}
docs: Remove special values that log function can take
  
      There are some special values, like "request" that the `log()`
      function can take, but they're not meant to be passed to the celery
      task neither for the event handlers. This function filter these keys
      and return another dict without them.