Skip to content

Instantly share code, notes, and snippets.

@kennethreitz kennethreitz/
Created Mar 18, 2018

What would you like to do?
import requests3
import trio
session = requests3.AsyncSession()
async def main():
async def request():
r = await session.get('', stream=False)
print(await r.json())
return r
for i in range(16):
async with trio.open_nursery() as nursery:
for i in range(512):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.