[pylons-discuss] Re: Suggested way to issue requests from inside a view callable

2018-05-01 Thread Jonathan Vanasco
On Tuesday, May 1, 2018 at 5:34:15 PM UTC-4, jens.t...@gmail.com wrote: > > > Jonathan, funny you mention Celery. I have used it for a while but the > experience has been horrible—the thing is ridden with bugs and problems, > barely maintained, and the list of issues on Github grows daily. Wh

[pylons-discuss] Re: Suggested way to issue requests from inside a view callable

2018-05-01 Thread jens . troeger
Thank you everybody, requests it is then! đź‘Ś On Wednesday, May 2, 2018 at 2:40:29 AM UTC+10, Jonathan Vanasco wrote: > > If your synchronous tasks are done "quickly" or must be "blocking" -- like > doing some oAuth or hitting an external API that is guaranteed to return a > request within a secon

[pylons-discuss] Re: Suggested way to issue requests from inside a view callable

2018-05-01 Thread Jonathan Vanasco
It depends on what you're communicating with, and why. If your synchronous tasks are done "quickly" or must be "blocking" -- like doing some oAuth or hitting an external API that is guaranteed to return a request within a second or two, I would just use `requests` from within Pyramid. If you'r