def inner(*args, **kwargs):
    table_config = args[0]
    downloader_klass = func(table_config)
    for year in table_config.years_to_download:
        downloader = downloader_klass(table_config, year)
        downloader.download()
        downloader.process()
def inner(*args, **kwargs):
    table_config = args[0]
    downloader_klass = func(table_config)
    for year in table_config.years_to_download:
        downloader = downloader_klass(table_config, year)
        downloader.download()
        downloader.process()