Closed Thooms closed 8 years ago
For now we do it like that:
r = reminder.Reminder( 'settings.yaml', senders_clss=[senders.SlackSender, senders.StdOutSender], fetcher_clss=[fetchers.GitHubFetcher] ) r.run()
which means that the senders/fetchers classes are built internally. We might want to build them explicitely like this:
slack_sender = senders.SlackSender(args) slack_sender.do_things() [...] r = reminder.Reminder(senders=slack_sender, [...])
For now we do it like that:
which means that the senders/fetchers classes are built internally. We might want to build them explicitely like this: