Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 4, 2023
1 parent b68d813 commit 089f664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/how_to/interactivity/bind_generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def slideshow():
img, _ = await asyncio.gather(pyfetch(url), asyncio.sleep(1))
yield pn.pane.JPG(await img.bytes())
import aiohttp
import aiohttp
async with aiohttp.ClientSession() as session:
async with session.get(url) as resp:
img, _ = await asyncio.gather(resp.read(), asyncio.sleep(1))
Expand Down

0 comments on commit 089f664

Please sign in to comment.