def inthread(func):
    @wraps(func)
    def wrapped(*a, **kw):
        return threads.deferToThread(func, *a, **kw)
    return wrapped
Load the resource file for each enabled locale and store its
dataset/ETHPy150Open wcong/ants/ants/utils/decorator.py/inthread--crossover with--dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/vcs/models.py/VCSResource.__init__