code: def response(self, component_id, component=None, **kwargs):
          
          if component_id in self._responses:
              raise DuplicateComponentNameError(
                  'Another response with name "{}" is already registered.'.format(
                      component_id
                  )
              )
          component = component or {}
          ret = component.copy()
          # Execute all helpers from plugins
          for plugin in self._plugins:
              try:
                  ret.update(plugin.response_helper(component, **kwargs) or {})
              except PluginMethodNotImplementedError:
                  continue
          self._responses[component_id] = ret
          return self
docs: Add a response which can be referenced.
  
          :param str component_id: ref_id to use as reference
          :param dict component: response fields
          :param dict kwargs: plugin-specific arguments