Re: [pylons-discuss] Migration from Flask - options?

2020-08-29 Thread Peter Wilkinson
Thanks Michael, lots to think about there! I’m hoping to have the code run in separate processes, the data layer has been extracted and any code that touches that moved into services code. Having separate processes turns out to be much cleaner as a migration since any code that does “the wrong

Re: [pylons-discuss] Migration from Flask - options?

2020-08-29 Thread Michael Merickel
Are you trying to host the apps in the same process? Where do you want certain shared parts to live as you migrate? In Pyramid code? In Flask code? Agnostic? Option 1: If you want Pyramid to be able to use any Flask code then you'll have to likely setup Flask's threadlocal variables / request