Skip to content

Commit 638e7a2

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.423.2
1 parent 223863b commit 638e7a2

File tree

101 files changed

+311
-288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+311
-288
lines changed

.speakeasy/gen.lock

+89-89
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 8618b570-44d2-4c9e-aa91-d78e8fe5330e
33
management:
44
docChecksum: 6a3c4265582b7a6d51d438f935f03946
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.423.1
6+
speakeasyVersion: 1.423.2
77
generationVersion: 2.442.11
8-
releaseVersion: 0.2.0
9-
configChecksum: 6f8d3a2df81e982a349004e60ee623a2
8+
releaseVersion: 0.2.1
9+
configChecksum: ab6b2b4d99cbe9ccc8b9e716725cb36f
1010
repoURL: https://github.com/unkeyed/unkey-py.git
1111
installationURL: https://github.com/unkeyed/unkey-py.git
1212
published: true
@@ -246,92 +246,92 @@ generatedFiles:
246246
- scripts/compile.sh
247247
- scripts/prepare-readme.py
248248
- scripts/publish.sh
249-
- src/unkey/__init__.py
250-
- src/unkey/_hooks/__init__.py
251-
- src/unkey/_hooks/sdkhooks.py
252-
- src/unkey/_hooks/types.py
253-
- src/unkey/_version.py
254-
- src/unkey/apis.py
255-
- src/unkey/basesdk.py
256-
- src/unkey/httpclient.py
257-
- src/unkey/identities.py
258-
- src/unkey/keys.py
259-
- src/unkey/liveness.py
260-
- src/unkey/migrations.py
261-
- src/unkey/models/__init__.py
262-
- src/unkey/models/addpermissionsop.py
263-
- src/unkey/models/addrolesop.py
264-
- src/unkey/models/createapiop.py
265-
- src/unkey/models/createidentityop.py
266-
- src/unkey/models/createkeyop.py
267-
- src/unkey/models/createpermissionop.py
268-
- src/unkey/models/createroleop.py
269-
- src/unkey/models/deleteapiop.py
270-
- src/unkey/models/deleteidentityop.py
271-
- src/unkey/models/deletekeyop.py
272-
- src/unkey/models/deletekeysop.py
273-
- src/unkey/models/deletepermissionop.py
274-
- src/unkey/models/deleteroleop.py
275-
- src/unkey/models/errbadrequest.py
276-
- src/unkey/models/errconflict.py
277-
- src/unkey/models/errdeleteprotected.py
278-
- src/unkey/models/errforbidden.py
279-
- src/unkey/models/errinternalservererror.py
280-
- src/unkey/models/errnotfound.py
281-
- src/unkey/models/errtoomanyrequests.py
282-
- src/unkey/models/errunauthorized.py
283-
- src/unkey/models/getapiop.py
284-
- src/unkey/models/getidentityop.py
285-
- src/unkey/models/getkeyop.py
286-
- src/unkey/models/getpermissionop.py
287-
- src/unkey/models/getroleop.py
288-
- src/unkey/models/getverificationsop.py
289-
- src/unkey/models/httpmetadata.py
290-
- src/unkey/models/key.py
291-
- src/unkey/models/limitop.py
292-
- src/unkey/models/listidentitiesop.py
293-
- src/unkey/models/listkeysop.py
294-
- src/unkey/models/listpermissionsop.py
295-
- src/unkey/models/listrolesop.py
296-
- src/unkey/models/permissionquery.py
297-
- src/unkey/models/removepermissionsop.py
298-
- src/unkey/models/removerolesop.py
299-
- src/unkey/models/sdkerror.py
300-
- src/unkey/models/security.py
301-
- src/unkey/models/setpermissionsop.py
302-
- src/unkey/models/setrolesop.py
303-
- src/unkey/models/updateidentityop.py
304-
- src/unkey/models/updatekeyop.py
305-
- src/unkey/models/updateremainingop.py
306-
- src/unkey/models/v1_livenessop.py
307-
- src/unkey/models/v1_migrations_createkeysop.py
308-
- src/unkey/models/v1_migrations_enqueuekeysop.py
309-
- src/unkey/models/v1keysverifykeyrequest.py
310-
- src/unkey/models/v1keysverifykeyresponse.py
311-
- src/unkey/models/verifykeyop.py
312-
- src/unkey/models/whoamiop.py
313-
- src/unkey/permissions.py
314-
- src/unkey/py.typed
315-
- src/unkey/ratelimits.py
316-
- src/unkey/sdk.py
317-
- src/unkey/sdkconfiguration.py
318-
- src/unkey/types/__init__.py
319-
- src/unkey/types/basemodel.py
320-
- src/unkey/utils/__init__.py
321-
- src/unkey/utils/annotations.py
322-
- src/unkey/utils/enums.py
323-
- src/unkey/utils/eventstreaming.py
324-
- src/unkey/utils/forms.py
325-
- src/unkey/utils/headers.py
326-
- src/unkey/utils/logger.py
327-
- src/unkey/utils/metadata.py
328-
- src/unkey/utils/queryparams.py
329-
- src/unkey/utils/requestbodies.py
330-
- src/unkey/utils/retries.py
331-
- src/unkey/utils/security.py
332-
- src/unkey/utils/serializers.py
333-
- src/unkey/utils/url.py
334-
- src/unkey/utils/values.py
249+
- src/unkey_py/__init__.py
250+
- src/unkey_py/_hooks/__init__.py
251+
- src/unkey_py/_hooks/sdkhooks.py
252+
- src/unkey_py/_hooks/types.py
253+
- src/unkey_py/_version.py
254+
- src/unkey_py/apis.py
255+
- src/unkey_py/basesdk.py
256+
- src/unkey_py/httpclient.py
257+
- src/unkey_py/identities.py
258+
- src/unkey_py/keys.py
259+
- src/unkey_py/liveness.py
260+
- src/unkey_py/migrations.py
261+
- src/unkey_py/models/__init__.py
262+
- src/unkey_py/models/addpermissionsop.py
263+
- src/unkey_py/models/addrolesop.py
264+
- src/unkey_py/models/createapiop.py
265+
- src/unkey_py/models/createidentityop.py
266+
- src/unkey_py/models/createkeyop.py
267+
- src/unkey_py/models/createpermissionop.py
268+
- src/unkey_py/models/createroleop.py
269+
- src/unkey_py/models/deleteapiop.py
270+
- src/unkey_py/models/deleteidentityop.py
271+
- src/unkey_py/models/deletekeyop.py
272+
- src/unkey_py/models/deletekeysop.py
273+
- src/unkey_py/models/deletepermissionop.py
274+
- src/unkey_py/models/deleteroleop.py
275+
- src/unkey_py/models/errbadrequest.py
276+
- src/unkey_py/models/errconflict.py
277+
- src/unkey_py/models/errdeleteprotected.py
278+
- src/unkey_py/models/errforbidden.py
279+
- src/unkey_py/models/errinternalservererror.py
280+
- src/unkey_py/models/errnotfound.py
281+
- src/unkey_py/models/errtoomanyrequests.py
282+
- src/unkey_py/models/errunauthorized.py
283+
- src/unkey_py/models/getapiop.py
284+
- src/unkey_py/models/getidentityop.py
285+
- src/unkey_py/models/getkeyop.py
286+
- src/unkey_py/models/getpermissionop.py
287+
- src/unkey_py/models/getroleop.py
288+
- src/unkey_py/models/getverificationsop.py
289+
- src/unkey_py/models/httpmetadata.py
290+
- src/unkey_py/models/key.py
291+
- src/unkey_py/models/limitop.py
292+
- src/unkey_py/models/listidentitiesop.py
293+
- src/unkey_py/models/listkeysop.py
294+
- src/unkey_py/models/listpermissionsop.py
295+
- src/unkey_py/models/listrolesop.py
296+
- src/unkey_py/models/permissionquery.py
297+
- src/unkey_py/models/removepermissionsop.py
298+
- src/unkey_py/models/removerolesop.py
299+
- src/unkey_py/models/sdkerror.py
300+
- src/unkey_py/models/security.py
301+
- src/unkey_py/models/setpermissionsop.py
302+
- src/unkey_py/models/setrolesop.py
303+
- src/unkey_py/models/updateidentityop.py
304+
- src/unkey_py/models/updatekeyop.py
305+
- src/unkey_py/models/updateremainingop.py
306+
- src/unkey_py/models/v1_livenessop.py
307+
- src/unkey_py/models/v1_migrations_createkeysop.py
308+
- src/unkey_py/models/v1_migrations_enqueuekeysop.py
309+
- src/unkey_py/models/v1keysverifykeyrequest.py
310+
- src/unkey_py/models/v1keysverifykeyresponse.py
311+
- src/unkey_py/models/verifykeyop.py
312+
- src/unkey_py/models/whoamiop.py
313+
- src/unkey_py/permissions.py
314+
- src/unkey_py/py.typed
315+
- src/unkey_py/ratelimits.py
316+
- src/unkey_py/sdk.py
317+
- src/unkey_py/sdkconfiguration.py
318+
- src/unkey_py/types/__init__.py
319+
- src/unkey_py/types/basemodel.py
320+
- src/unkey_py/utils/__init__.py
321+
- src/unkey_py/utils/annotations.py
322+
- src/unkey_py/utils/enums.py
323+
- src/unkey_py/utils/eventstreaming.py
324+
- src/unkey_py/utils/forms.py
325+
- src/unkey_py/utils/headers.py
326+
- src/unkey_py/utils/logger.py
327+
- src/unkey_py/utils/metadata.py
328+
- src/unkey_py/utils/queryparams.py
329+
- src/unkey_py/utils/requestbodies.py
330+
- src/unkey_py/utils/retries.py
331+
- src/unkey_py/utils/security.py
332+
- src/unkey_py/utils/serializers.py
333+
- src/unkey_py/utils/url.py
334+
- src/unkey_py/utils/values.py
335335
examples:
336336
v1.liveness:
337337
speakeasy-default-v1-liveness:

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
auth:
1616
oAuth2ClientCredentialsEnabled: true
1717
python:
18-
version: 0.2.0
18+
version: 0.2.1
1919
additionalDependencies:
2020
dev: {}
2121
main: {}

.speakeasy/workflow.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
speakeasyVersion: 1.423.1
1+
speakeasyVersion: 1.423.2
22
sources:
33
Unkey-OAS:
44
sourceNamespace: unkey-oas
5-
sourceRevisionDigest: sha256:dadcd25da50cf8783e6c2fba52f0c5e004af0c77635edacdc6948b5d8cf88c51
5+
sourceRevisionDigest: sha256:03047b549939407d79938b5a9f9c27c689dad8d80d6635471e89043b89848b77
66
sourceBlobDigest: sha256:6af87205b63b788e53a11d7145cd48df3e627187a5a2f694c27e3b2b49b06871
77
tags:
88
- latest
@@ -11,10 +11,10 @@ targets:
1111
unkey:
1212
source: Unkey-OAS
1313
sourceNamespace: unkey-oas
14-
sourceRevisionDigest: sha256:dadcd25da50cf8783e6c2fba52f0c5e004af0c77635edacdc6948b5d8cf88c51
14+
sourceRevisionDigest: sha256:03047b549939407d79938b5a9f9c27c689dad8d80d6635471e89043b89848b77
1515
sourceBlobDigest: sha256:6af87205b63b788e53a11d7145cd48df3e627187a5a2f694c27e3b2b49b06871
1616
codeSamplesNamespace: unkey-oas-code-samples
17-
codeSamplesRevisionDigest: sha256:7555f203175249a448e9cc199ac850a15ba297f09eb320ec9913825d0979f417
17+
codeSamplesRevisionDigest: sha256:74fbb75516a01df5ebc92ddfa43bffe6d18873933719e7ffadfd16bc591f6271
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ The SDK can be installed with either *pip* or *poetry* package managers.
4444
*PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
4545

4646
```bash
47-
pip install unkey
47+
pip install unkey.py
4848
```
4949

5050
### Poetry
5151

5252
*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
5353

5454
```bash
55-
poetry add unkey
55+
poetry add unkey.py
5656
```
5757
<!-- End SDK Installation [installation] -->
5858

@@ -74,7 +74,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
7474
```python
7575
# Synchronous Example
7676
import os
77-
from unkey import Unkey
77+
from unkey_py import Unkey
7878

7979
s = Unkey(
8080
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -94,7 +94,7 @@ The same SDK client can also be used to make asychronous requests by importing a
9494
# Asynchronous Example
9595
import asyncio
9696
import os
97-
from unkey import Unkey
97+
from unkey_py import Unkey
9898

9999
async def main():
100100
s = Unkey(
@@ -186,7 +186,7 @@ return value of `Next` is `None`, then there are no more pages to be fetched.
186186
Here's an example of one such pagination call:
187187
```python
188188
import os
189-
from unkey import Unkey
189+
from unkey_py import Unkey
190190

191191
s = Unkey(
192192
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -213,8 +213,8 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
213213
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
214214
```python
215215
import os
216-
from unkey import Unkey
217216
from unkey.utils import BackoffStrategy, RetryConfig
217+
from unkey_py import Unkey
218218

219219
s = Unkey(
220220
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -232,8 +232,8 @@ if res.object is not None:
232232
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
233233
```python
234234
import os
235-
from unkey import Unkey
236235
from unkey.utils import BackoffStrategy, RetryConfig
236+
from unkey_py import Unkey
237237

238238
s = Unkey(
239239
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
@@ -280,7 +280,7 @@ When custom error responses are specified for an operation, the SDK may also rai
280280

281281
```python
282282
import os
283-
from unkey import Unkey, models
283+
from unkey_py import Unkey, models
284284

285285
s = Unkey(
286286
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -336,7 +336,7 @@ You can override the default server globally by passing a server index to the `s
336336

337337
```python
338338
import os
339-
from unkey import Unkey
339+
from unkey_py import Unkey
340340

341341
s = Unkey(
342342
server_idx=0,
@@ -357,7 +357,7 @@ if res.object is not None:
357357
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
358358
```python
359359
import os
360-
from unkey import Unkey
360+
from unkey_py import Unkey
361361

362362
s = Unkey(
363363
server_url="https://api.unkey.dev",
@@ -382,7 +382,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
382382

383383
For example, you could specify a header for every request that this sdk makes as follows:
384384
```python
385-
from unkey import Unkey
385+
from unkey_py import Unkey
386386
import httpx
387387

388388
http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -391,8 +391,8 @@ s = Unkey(client=http_client)
391391

392392
or you could wrap the client with your own custom logic:
393393
```python
394-
from unkey import Unkey
395-
from unkey.httpclient import AsyncHttpClient
394+
from unkey_py import Unkey
395+
from unkey_py.httpclient import AsyncHttpClient
396396
import httpx
397397

398398
class CustomClient(AsyncHttpClient):
@@ -468,7 +468,7 @@ This SDK supports the following security scheme globally:
468468
To authenticate with the API the `bearer_auth` parameter must be set when initializing the SDK client instance. For example:
469469
```python
470470
import os
471-
from unkey import Unkey
471+
from unkey_py import Unkey
472472

473473
s = Unkey(
474474
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -490,11 +490,11 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
490490

491491
You can pass your own logger class directly into your SDK.
492492
```python
493-
from unkey import Unkey
493+
from unkey_py import Unkey
494494
import logging
495495

496496
logging.basicConfig(level=logging.DEBUG)
497-
s = Unkey(debug_logger=logging.getLogger("unkey"))
497+
s = Unkey(debug_logger=logging.getLogger("unkey_py"))
498498
```
499499

500500
You can also enable a default debug logger by setting an environment variable `UNKEY_DEBUG` to true.

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,14 @@ Based on:
1818
### Generated
1919
- [python v0.2.0] .
2020
### Releases
21-
- [PyPI v0.2.0] https://pypi.org/project/unkey/0.2.0 - .
21+
- [PyPI v0.2.0] https://pypi.org/project/unkey/0.2.0 - .
22+
23+
## 2024-10-30 09:34:46
24+
### Changes
25+
Based on:
26+
- OpenAPI Doc
27+
- Speakeasy CLI 1.423.2 (2.442.11) https://github.com/speakeasy-api/speakeasy
28+
### Generated
29+
- [python v0.2.1] .
30+
### Releases
31+
- [PyPI v0.2.1] https://pypi.org/project/unkey.py/0.2.1 - .

USAGE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
```python
33
# Synchronous Example
44
import os
5-
from unkey import Unkey
5+
from unkey_py import Unkey
66

77
s = Unkey(
88
bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),
@@ -22,7 +22,7 @@ The same SDK client can also be used to make asychronous requests by importing a
2222
# Asynchronous Example
2323
import asyncio
2424
import os
25-
from unkey import Unkey
25+
from unkey_py import Unkey
2626

2727
async def main():
2828
s = Unkey(

0 commit comments

Comments
 (0)