How to use the aiojobs.aiohttp.get_scheduler function in aiojobs

To help you get started, we’ve selected a few aiojobs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aio-libs / aiojobs / tests / test_aiohttp.py View on Github external
async def handler(request):
        with pytest.raises(RuntimeError):
            get_scheduler(request)
        return web.Response()