Skip to content

Commit 213fcdc

Browse files
feat: clean up environment call outs
1 parent 92025c1 commit 213fcdc

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
@@ -79,15 +79,14 @@ pip install gitpod-sdk[aiohttp]
7979
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
8080

8181
```python
82-
import os
8382
import asyncio
8483
from gitpod import DefaultAioHttpClient
8584
from gitpod import AsyncGitpod
8685

8786

8887
async def main() -> None:
8988
async with AsyncGitpod(
90-
bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
89+
bearer_token="My Bearer Token",
9190
http_client=DefaultAioHttpClient(),
9291
) as client:
9392
response = await client.identity.get_authenticated_identity()

0 commit comments

Comments
 (0)