iurisilvio/bottle-sqlalchemy — pull request #5 by idkfa (2012-04-01 17:58:55+00:00)
Title: Workaround for decorated route callbacks

Put SA session into request.environ[keyword] when callback argspec unavailable.
This workaround provides access to session object when decorator (such as @view) replaces target callback argspec with wrapper.