def __init__(self, config, http, bot): ProtectedResource.__init__(self, http) shortener = UrlShortener() self.dispatchers = { "push": PushDispatcher(config, bot, shortener), "pull_request": PullRequestDispatcher(config, bot, shortener), }
def __init__(self, config, http, bot, database): ProtectedResource.__init__(self, http) shortener = UrlShortener() push_dispatcher = PushDispatcher(config, bot, shortener) salon = Salon(config, bot, shortener, database) self.dispatchers = { "push": push_dispatcher.dispatch, "pull_request": salon.dispatch_pullrequest, "issue_comment": salon.dispatch_comment, }
def __init__(self, config, http, bot, database): ProtectedResource.__init__(self, http) shortener = UrlShortener() push_dispatcher = PushDispatcher(config, bot, shortener) salon = Salon(config, bot, shortener, database) self.dispatchers = { "ping": push_dispatcher.dispatch_ping, "push": push_dispatcher.dispatch_push, "pull_request": salon.dispatch_pullrequest, "issue_comment": salon.dispatch_comment, }
def __init__(self, http, bot, salons, database): ProtectedResource.__init__(self, http) self.salons = salons push_dispatcher = PushDispatcher(bot, salons) salon = Salon(bot, salons, database) self.dispatchers = { "ping": push_dispatcher.dispatch_ping, "push": push_dispatcher.dispatch_push, "pull_request": salon.dispatch_pullrequest, "issue_comment": salon.dispatch_comment, "pull_request_review": salon.dispatch_review, }
def __init__(self, http, bot, salons, database): ProtectedResource.__init__(self, http) shortener = UrlShortener() self.salons = salons push_dispatcher = PushDispatcher(bot, shortener, salons) salon = Salon(bot, shortener, salons, database) self.dispatchers = { "ping": push_dispatcher.dispatch_ping, "push": push_dispatcher.dispatch_push, "pull_request": salon.dispatch_pullrequest, "issue_comment": salon.dispatch_comment, "pull_request_review": salon.dispatch_review, }
def __init__(self, http, dispatcher): ProtectedResource.__init__(self, http) self.dispatcher = dispatcher
def __init__(self, http, monitor): ProtectedResource.__init__(self, http) self.monitor = monitor
def __init__(self, http, watchdog): ProtectedResource.__init__(self, http) self.watchdog = watchdog
def __init__(self, http, alerter): ProtectedResource.__init__(self, http) self.alerter = alerter