def get_session(db_path: str):
<EOL>con_str = "<STR_LIT>" + db_path<EOL>engine = create_engine(con_str, echo=False)<EOL>Base.metadata.create_all(engine)<EOL>Session = sessionmaker(bind=engine)<EOL>session = Session()<EOL>return session<EOL>
Creates and opens a database session