def load_tasks(task_id, path, batch):
    if isinstance(path, six.string_types):
        path = (path,)

    count = len(path)
    tasks = 0

    for i, p in enumerate(path):
        echo('Loading file {0:d} from {1:d}...'.format(i + 1, count))
        tasks += _load_tasks_file(task_id, p, batch)

    return tasks
Calls callback functions
dataset/ETHPy150Open mrgambal/vulyk/vulyk/cli/db.py/load_tasks--crossover with--dataset/ETHPy150Open florianpaquet/mease/mease/backends/base.py/BaseSubscriber.dispatch_message