Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async def _handle_list(self, cm):
async with cm as response:
return await json_stream_list(response)
async def _stats_list(self, cm):
async with cm as response:
return await json_stream_list(response)