Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Fire an event into the system.

:param event: The event that is to be fired.
:param channels: The channels that this event is delivered on.
   If no channels are specified, the event is delivered to the
   channels found in the event's :attr:`channel` attribute.
   If this attribute is not set, the event is delivered to
   the firing component's channel. And eventually,
   when set neither, the event is delivered on all
   channels ("*").

src/i/r/ircnotifier-0.0.2/ircnotifier/webapi.py   ircnotifier(Download)
        message = payload.get("message", "")
        self.fire(PRIVMSG(channel, "Message from {0:s}@{1:s}: {2:s}".format(
            user, host, message)), "bot")
                "{0:d} commit(s) pushed to {1:s}".format(
        for commit in commits:
            self.fire(PRIVMSG(channel, "{0:s} by {1:s}: {2:s}".format(
                commit["node"], commit["author"], commit["message"])), "bot")