Confused by SqlAlchemy’s DBSession in Pyramid?

Confused by SqlAlchemy’s DBSession in Pyramid?

I was, I wanted to know: What is the DBSession anyway? How does that work in my unit tests? If I want to use my webapp code outside of the webapp (in a background process) how do I do that? Let’s see if we can answer those questions. helloengine.py # sqlalchemy...