def __init__(self): """ Initializes database connection and sessionmaker Creates tables """ engine = db_connect() create_table(engine) self.Session = sessionmaker(bind=engine)
def __init__(self): """ Initializes database connection and sessionmaker Creates tables """ engine = db_connect() create_table(engine) self.Session = sessionmaker(bind=engine) logging.info("****SaveQuotePipeline: database connected****")