Skip to content

Commit f327e4a

Browse files
authored
Merge pull request #9 from unkeyed/speakeasy-sdk-regen-1739752037
chore: 🐝 Update SDK - Generate 0.10.0
2 parents dcf3004 + a721309 commit f327e4a

File tree

125 files changed

+5991
-2313
lines changed

Some content is hidden

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

125 files changed

+5991
-2313
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
.speakeasy/reports
14
.venv/
25
src/*.egg-info/
36
.python-version

.speakeasy/gen.lock

Lines changed: 265 additions & 119 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ generation:
1010
useClassNamesForArrayFields: true
1111
fixes:
1212
nameResolutionDec2023: true
13+
nameResolutionFeb2025: false
1314
parameterOrderingFeb2024: true
1415
requestResponseComponentNamesFeb2024: true
16+
securityFeb2025: false
17+
sharedErrorComponentsApr2025: false
1518
auth:
1619
oAuth2ClientCredentialsEnabled: true
1720
oAuth2PasswordEnabled: false
1821
python:
19-
version: 0.9.0
22+
version: 0.10.0
2023
additionalDependencies:
2124
dev: {}
2225
main: {}
@@ -25,6 +28,7 @@ python:
2528
clientServerStatusCodesAsErrors: true
2629
defaultErrorName: SDKError
2730
description: Python Client SDK for unkey.com.
31+
enableCustomCodeRegions: false
2832
enumFormat: enum
2933
envVarPrefix: UNKEY
3034
fixFlags:
@@ -45,5 +49,6 @@ python:
4549
methodArguments: infer-optional-args
4650
outputModelSuffix: output
4751
packageName: unkey.py
52+
pytestTimeout: 0
4853
responseFormat: envelope-http
4954
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.453.4
1+
speakeasyVersion: 1.542.3
22
sources:
33
Unkey-OAS:
44
sourceNamespace: unkey-oas
5-
sourceRevisionDigest: sha256:8195101f876a2dee27540ad46a0ff11904f6f41eaab663ca7e6d6ec88adf8c68
6-
sourceBlobDigest: sha256:2ec7e32aea77a854bdd608875cfcd1110ba479f365389e3707bfff61885ff102
5+
sourceRevisionDigest: sha256:c4582b17b5db49f9a45062180f5555a72abef0188ba709e929272c85225abeff
6+
sourceBlobDigest: sha256:1c41faf3ed61f8cd6f660239a0d124730ec6c2b09000b14c05d415c493b17d71
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1730334330
9+
- speakeasy-sdk-regen-1739752037
1010
- 1.0.0
1111
targets:
1212
unkey:
1313
source: Unkey-OAS
1414
sourceNamespace: unkey-oas
15-
sourceRevisionDigest: sha256:8195101f876a2dee27540ad46a0ff11904f6f41eaab663ca7e6d6ec88adf8c68
16-
sourceBlobDigest: sha256:2ec7e32aea77a854bdd608875cfcd1110ba479f365389e3707bfff61885ff102
15+
sourceRevisionDigest: sha256:c4582b17b5db49f9a45062180f5555a72abef0188ba709e929272c85225abeff
16+
sourceBlobDigest: sha256:1c41faf3ed61f8cd6f660239a0d124730ec6c2b09000b14c05d415c493b17d71
1717
codeSamplesNamespace: unkey-oas-python-code-samples
18-
codeSamplesRevisionDigest: sha256:4c557e4115ee27d060ee91bebe3faa42dfaea6651b128997b9f722c7992a96fc
18+
codeSamplesRevisionDigest: sha256:2df834896b75976a16a6ccc505428d2e9553bfdb2d6366942ca24cb389635359
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ Based on:
4848
### Generated
4949
- [python v0.9.0] .
5050
### Releases
51-
- [PyPI v0.9.0] https://pypi.org/project/unkey.py/0.9.0 - .
51+
- [PyPI v0.9.0] https://pypi.org/project/unkey.py/0.9.0 - .
52+
53+
## 2025-05-08 00:29:00
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [python v0.10.0] .
60+
### Releases
61+
- [PyPI v0.10.0] https://pypi.org/project/unkey.py/0.10.0 - .

USAGE.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
# Synchronous Example
44
from unkey_py import Unkey
55

6+
67
with Unkey(
78
bearer_auth="UNKEY_ROOT_KEY",
8-
) as s:
9-
res = s.liveness.check()
9+
) as unkey:
10+
11+
res = unkey.liveness.check()
12+
13+
assert res.object is not None
1014

11-
if res.object is not None:
12-
# handle response
13-
pass
15+
# Handle response
16+
print(res.object)
1417
```
1518

1619
</br>
@@ -22,14 +25,17 @@ import asyncio
2225
from unkey_py import Unkey
2326

2427
async def main():
28+
2529
async with Unkey(
2630
bearer_auth="UNKEY_ROOT_KEY",
27-
) as s:
28-
res = await s.liveness.check_async()
31+
) as unkey:
32+
33+
res = await unkey.liveness.check_async()
34+
35+
assert res.object is not None
2936

30-
if res.object is not None:
31-
# handle response
32-
pass
37+
# Handle response
38+
print(res.object)
3339

3440
asyncio.run(main())
3541
```

docs/models/and_.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
8-
| `and_` | List[[models.PermissionQuery](../models/permissionquery.md)] | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8+
| `and_` | List[[Nullable[models.PermissionQuery]](../models/permissionquery.md)] | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)