def setK(self, k):
        Parameter.checkIndex(k, 0, float('inf'))
        self.k = k
get first N notifications
dataset/ETHPy150Open charanpald/APGL/apgl/generator/SmallWorldGenerator.py/SmallWorldGenerator.setK--crossover with--dataset/ETHPy150Open nitely/Spirit/spirit/topic/notification/tests.py/TopicNotificationViewTest.test_topic_notification_ajax_limit