def dataloader(name):
    '\n    decorator for registering dataloader functions\n\n    Args:\n        name: data set name\n\n    '

    def loader(func):
        _dataloaders[name] = func
        return func
    return loader
decorator for registering dataloader functions

Args:
    name: data set name
def dataloader(name):
    '\n    decorator for registering dataloader functions\n\n    Args:\n        name: data set name\n\n    '

    def loader(func):
        _dataloaders[name] = func
        return func
    return loader