Skip to content

Commit

Permalink
docs(readme): add missing asyncio import (#1858)
Browse files Browse the repository at this point in the history
* fix missing import

* reorder imports

---------

Co-authored-by: Robert Craigie <robert@craigie.dev>
  • Loading branch information
baslia and RobertCraigie authored Nov 11, 2024
1 parent 646a579 commit dec9d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ for chunk in stream:
The async client uses the exact same interface.

```python
import asyncio
from openai import AsyncOpenAI

client = AsyncOpenAI()
Expand Down

0 comments on commit dec9d0c

Please sign in to comment.