Forums

aiohttp web app configuration

Hi all,

I am trying to set up webhooks for a Python bot. I have already followed this guide and managed to make the Flask example work correctly. Now I am trying to do the same with a bot which uses the async version of telepot (built on top of this skeleton), and I could not find a way to adapt the example to this case.

Any clue about what I should write in the wsgi file? Should I use aiohttp_wsgi?

Thanks!

Hi there, we don't support aio I'm afraid.

I see, any chance of this changing in the future?

Not in the short term. There are some fairly big infrastructure changes we have to make first. We are thinking about it, but it's going to take a long time.

Alright, your hosting service is great anyway, thanks!

:-D

Is there now a support for aiohttp?

hi there, no- we do not have that at the moment

When do you think this will be possible ?

We are doing closed beta tests of feature that allows it (api only at that moment, no web ui). Let us know if you are interested. Contact us at support@pythonanywhere.com