Skip to content

Commit

Permalink
docs(readme): fix example snippet imports (openai#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and megamanics committed Aug 14, 2024
1 parent 1b5b349 commit 1ca6c21
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 1ca6c21

Please sign in to comment.