Skip to content

Commit 82c38c4

Browse files
feat: clean up environment call outs
1 parent c4c4185 commit 82c38c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,14 @@ pip install browserbase[aiohttp]
9696
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
9797

9898
```python
99-
import os
10099
import asyncio
101100
from browserbase import DefaultAioHttpClient
102101
from browserbase import AsyncBrowserbase
103102

104103

105104
async def main() -> None:
106105
async with AsyncBrowserbase(
107-
api_key=os.environ.get("BROWSERBASE_API_KEY"), # This is the default and can be omitted
106+
api_key="My API Key",
108107
http_client=DefaultAioHttpClient(),
109108
) as client:
110109
session = await client.sessions.create(

0 commit comments

Comments
 (0)