in db_schema/db_schema_lambda_layer/python/bookstore_utils.py [0:0]
def create_db_session(engine):
global Session
if not Session:
Session = sessionmaker(bind=engine)
# todo: setup connection pooling properties
return Session()