def __getitem__(self, index):
        return self.tasks[index]


# This `Tasks` collection tracks globally registered tasks.
Stops the serve_forever loop.
dataset/ETHPy150Open facebook/sparts/sparts/vtask.py/Tasks.__getitem__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/StoppableWSGIServer.shutdown