Re: [pylons-discuss] Confused accessing db sessions

2020-01-07 Thread Jonathan Vanasco
On Monday, January 6, 2020 at 4:03:19 PM UTC-5, Kate Boelhauf wrote: > > This is insanely helpful - thank you Michael. I'm going to pass the > dbsession into the class method for now but look into a service layer. > A few years ago I adopted the pattern of passing Pyramid's `request` object

[pylons-discuss] Pyramid Debugtoolbar 4.5.2 released

2020-01-07 Thread Steve Piercy
Pyramid Debugtoolbar 4.5.2 has been released. Here are the changes: - Stop accessing request.unauthenticated_userid in preparation for Pyramid 2.0 where it is deprecated. - Catch a ValueError when JSON-serializing SQLA objects for display. See