code: def render(self, data, accepted_media_type=None, renderer_context=None):
          
          renderer_context = renderer_context or {}
          callback = self.get_callback(renderer_context)
          json = super(JSONPRenderer, self).render(data, accepted_media_type,
                                                   renderer_context)
          return callback.encode(self.charset) + b'(' + json + b');'
docs: Renders into jsonp, wrapping the json output in a callback function.
  
          Clients may set the callback function name using a query parameter
          on the URL, for example: ?callback=exampleCallbackName