Hello. I currently have a small application:
Now I have a problem with
I want the request to be sent asynchronously (asyncio), for example like this:
response_generator = await requests.get(settings.GENERATOR_HOST) return response.html(response_generator.content)
But how do I do? I know that this can be easily done by aiohttp (but it will be easier to switch to the aiohttp framework than installing it).