// echo has to be False while creating an object of an engine by create_engine() engine=create_engine("sqlite:///./database/app.db", echo=False, connect_args={"check_same_thread": False})