def requires(self):
        if self.use_hadoop:
            return AggregateArtistsHadoop(self.date_interval)
        else:
            return AggregateArtists(self.date_interval)
Return object_list.
dataset/ETHPy150Open spotify/luigi/examples/top_artists.py/Top10Artists.requires--crossover with--dataset/ETHPy150Open novafloss/django-mail-factory/mail_factory/views.py/MailListView.get_context_data