def __len__(self):
    return len(self.threads) + len(self.tasks)
Return the model class related to this MappingType.
dataset/ETHPy150Open JeremyOT/Toto/toto/tasks.py/TaskQueue.__len__--crossover with--dataset/ETHPy150Open mozilla/elasticutils/elasticutils/__init__.py/MappingType.get_model