The functionality need is to ensure we have the required task types within the
scheduler. It must be done early in order to prevent the lister to do
computations (and hitting external apis) and then fail to insert the computed
tasks if the scheduler is not correctly setup-ed.
Let's make it fail as soon as possible.
I'm not sure where to implement the check function call though.
Within the:
- lister's constructor
- lister's task (the one creating the lister)
- somewhere else?
The constructor is the the right place for documenting the "output"; it should be either in the class docstring's or in a method's.
It's also unclear what you call an output (is it a return value of one of the methods?)