You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove unused security schemes from joined spec ([95aa9f5](https://github.com/keycardai/keycard-python/commit/95aa9f57d74798443baf8464e67232d7331030a8))
14
+
* Typescript package name @keycardai/api ([abb571d](https://github.com/keycardai/keycard-python/commit/abb571d3f052d0459ef6f5da4a30e491f3c86de3))
Alternatively, you can build from source and install the wheel file:
@@ -113,7 +113,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
113
113
114
114
### Publish with a GitHub workflow
115
115
116
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/keycardlabs/keycard-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
116
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/keycardai/keycard-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
74
80
75
81
```python
82
+
import os
76
83
import asyncio
77
84
from keycardai_api import DefaultAioHttpClient
78
85
from keycardai_api import AsyncKeycardAPI
79
86
80
87
81
88
asyncdefmain() -> None:
82
89
asyncwith AsyncKeycardAPI(
90
+
api_key=os.environ.get("KEYCARD_API_API_KEY"), # This is the default and can be omitted
83
91
http_client=DefaultAioHttpClient(),
84
92
) as client:
85
93
zones =await client.zones.list()
@@ -247,9 +255,9 @@ zone = response.parse() # get the object that `zones.list()` would have returne
247
255
print(zone.items)
248
256
```
249
257
250
-
These methods return an [`APIResponse`](https://github.com/keycardlabs/keycard-python/tree/main/src/keycardai_api/_response.py) object.
258
+
These methods return an [`APIResponse`](https://github.com/keycardai/keycard-python/tree/main/src/keycardai_api/_response.py) object.
251
259
252
-
The async client returns an [`AsyncAPIResponse`](https://github.com/keycardlabs/keycard-python/tree/main/src/keycardai_api/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
260
+
The async client returns an [`AsyncAPIResponse`](https://github.com/keycardai/keycard-python/tree/main/src/keycardai_api/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
253
261
254
262
#### `.with_streaming_response`
255
263
@@ -353,7 +361,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
353
361
354
362
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
355
363
356
-
We are keen for your feedback; please open an [issue](https://www.github.com/keycardlabs/keycard-python/issues) with questions, bugs, or suggestions.
364
+
We are keen for your feedback; please open an [issue](https://www.github.com/keycardai/keycard-python/issues) with questions, bugs, or suggestions.
0 commit comments