docs: def add(self,
              routing_entity,
              config: _ConfigType = None,
              webview: bool=False):
          """Enable CORS for specific route or resource.
  
          If route is passed CORS is enabled for route's resource.
  
          :param routing_entity:
              Route or Resource for which CORS should be enabled.
          :param config:
              CORS options for the route.
          :return: `routing_entity`.
          """
  
          if webview:
              warnings.warn('webview argument is deprecated, '
                            'views are handled authomatically without '
                            'extra settings',
                            DeprecationWarning,
                            stacklevel=2)
  
          return self._cors_impl.add(routing_entity, config)