Instantly share code, notes, and snippets.

Embed
What would you like to do?
import requests
session = requests.AsyncSession()
async def _main():
rs = []
for _ in range(100):
rs.append(await session.get('http://httpbin.org/get'))
print(rs)
session.run(_main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment