Skip to content

Commit

Permalink
docs(readme): fix example snippet imports (#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jul 22, 2024
1 parent d877b6d commit 0c90af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ List methods in the OpenAI API are paginated.
This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:

```python
import openai
from openai import OpenAI

client = OpenAI()

Expand All @@ -246,7 +246,7 @@ Or, asynchronously:

```python
import asyncio
import openai
from openai import AsyncOpenAI

client = AsyncOpenAI()

Expand Down

0 comments on commit 0c90af6

Please sign in to comment.