We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92025c1 commit 213fcdcCopy full SHA for 213fcdc
README.md
@@ -79,15 +79,14 @@ pip install gitpod-sdk[aiohttp]
79
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
80
81
```python
82
-import os
83
import asyncio
84
from gitpod import DefaultAioHttpClient
85
from gitpod import AsyncGitpod
86
87
88
async def main() -> None:
89
async with AsyncGitpod(
90
- bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
+ bearer_token="My Bearer Token",
91
http_client=DefaultAioHttpClient(),
92
) as client:
93
response = await client.identity.get_authenticated_identity()
0 commit comments