def extract(self): logger.info('extracting csvs from shared drive') csv_reader = CSVReader(Config.directory) csv_reader.targets = [Target(*params) for params in Config.targets] received, shipped, history, picked = csv_reader.read() received.to_csv('data/received.csv') shipped.to_csv('data/shipped.csv') history.to_csv('data/history.csv') picked.to_csv('data/picked.csv') return received, shipped, history, picked