import datetime from db_calls_card_creation import * from exceptions import logger def process_pitcher_csv(filename: str, cardset: str, testing: bool = False): cardset = ScoutCardset.get_or_none(ScoutCardset.set_title == cardset)