(self, receiver, signal, **kwargs)
return dispatcher.connect(receiver, signal, **kwargs)
Connect a receiver function to a signal.

        The signal can be any object, although Scrapy comes with some
        predefined signals that are documented in the :ref:`topics-signals`
        section.

        :param receiver: the function to be connected
        :type receiver: collections.abc.Callable

        :param signal: the signal to connect to
        :type signal: object
Connect a receiver function to a signal.
Connect a receiver function to a signal .
def connect(self, receiver, signal, **kwargs):
        """
        Connect a receiver function to a signal.

        The signal can be any object, although Scrapy comes with some
        predefined signals that are documented in the :ref:`topics-signals`
        section.

        :param receiver: the function to be connected
        :type receiver: collections.abc.Callable

        :param signal: the signal to connect to
        :type signal: object
        """
        kwargs.setdefault('sender', self.sender)
        return dispatcher.connect(receiver, signal, **kwargs)
def connect ( self , receiver , signal , * * kwargs ) : kwargs . setdefault ( 'sender' , self . sender ) return dispatcher . connect ( receiver , signal , * * kwargs )