Skip to content

Commit 0b3f46f

Browse files
authored
Merge pull request #67 from unkeyed/speakeasy-sdk-regen-1774397655
chore: 🐝 Update SDK - Generate API-PY 3.0.2
2 parents aba93a1 + a9e2275 commit 0b3f46f

File tree

21 files changed

+368
-77
lines changed

21 files changed

+368
-77
lines changed

.speakeasy/logs/changes/changes.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta name="color-scheme" content="light dark">
7-
<title>SDK Changelog - go</title>
7+
<title>SDK Changelog - python</title>
88
<style>
99
:root {
1010
--bg-color: #ffffff;
@@ -95,10 +95,10 @@
9595
}
9696
</style>
9797
</head>
98-
<body><h2 id="go-sdk-changes">Go SDK Changes:</h2>
98+
<body><h2 id="python-sdk-changes">Python SDK Changes:</h2>
9999

100100
<ul>
101-
<li><code>Unkey.Internal.GetDeployment()</code>: <code>response.Data.Status.Enum(stopped)</code> <strong>Added</strong></li>
101+
<li><code>unkey.internal.get_deployment()</code>: <code>response.data.status.enum(stopped)</code> <strong>Added</strong></li>
102102
</ul>
103103
</body>
104104
</html>

.speakeasy/logs/changes/changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
## Go SDK Changes:
2-
* `Unkey.Internal.GetDeployment()`: `response.Data.Status.Enum(stopped)` **Added**
1+
## Python SDK Changes:
2+
* `unkey.internal.get_deployment()`: `response.data.status.enum(stopped)` **Added**

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ sources:
99
- 2.0.0
1010
api-python:
1111
sourceNamespace: api-python
12-
sourceRevisionDigest: sha256:3cb560a54e1d937c50f68909c28a96246d9147ba3ffe039d048560b8d2f80a04
13-
sourceBlobDigest: sha256:dc325957f905320b13a9fd8d163b1ecb25954f3b010004bc56909723642cde69
12+
sourceRevisionDigest: sha256:8e7a9ae8b1313c11c52b3cddcb2cfa70e9fdc2b69fda7fef158c7be1a668e9d7
13+
sourceBlobDigest: sha256:8e412febf397f1b7930b013f775f905f96316e433013181613acc2cfb599e872
1414
tags:
1515
- latest
1616
- 2.0.0
@@ -25,10 +25,10 @@ targets:
2525
api-py:
2626
source: api-python
2727
sourceNamespace: api-python
28-
sourceRevisionDigest: sha256:3cb560a54e1d937c50f68909c28a96246d9147ba3ffe039d048560b8d2f80a04
29-
sourceBlobDigest: sha256:dc325957f905320b13a9fd8d163b1ecb25954f3b010004bc56909723642cde69
28+
sourceRevisionDigest: sha256:8e7a9ae8b1313c11c52b3cddcb2cfa70e9fdc2b69fda7fef158c7be1a668e9d7
29+
sourceBlobDigest: sha256:8e412febf397f1b7930b013f775f905f96316e433013181613acc2cfb599e872
3030
codeSamplesNamespace: api-python-code-samples
31-
codeSamplesRevisionDigest: sha256:f4c78c712887616bcd132c29b628c385be5029476a7fae1a5d9753cc3cc4aaf9
31+
codeSamplesRevisionDigest: sha256:95dc5e05a77e7d2c7381049398442f3d9ae318d0b930877a42114cf32c7a8b1d
3232
api-ts:
3333
source: api
3434
sourceNamespace: api

api/py/.speakeasy/gen.lock

Lines changed: 42 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
lockVersion: 2.0.0
22
id: 8a9e26c7-28d4-48cc-ad07-e968ac5cd901
33
management:
4-
docChecksum: dda5b6d1903f68aca58fe02fa2bf9048
4+
docChecksum: 32cb877074f31cfbb0bd23307ec90d6b
55
docVersion: 2.0.0
6-
speakeasyVersion: 1.758.0
7-
generationVersion: 2.866.2
8-
releaseVersion: 3.0.1
9-
configChecksum: 5e391fbfb775038320f1be9161379f7a
6+
speakeasyVersion: 1.761.1
7+
generationVersion: 2.879.6
8+
releaseVersion: 3.0.2
9+
configChecksum: ff99f152f3d2d79e295bace310f33bf7
1010
repoURL: https://github.com/unkeyed/sdks.git
1111
repoSubDirectory: api/py
1212
installationURL: https://github.com/unkeyed/sdks.git#subdirectory=api/py
1313
published: true
1414
persistentEdits:
15-
generation_id: ccd51919-cf5b-4740-b1f0-ac025afd9309
16-
pristine_commit_hash: 9030d207a1784b2f81a79f363a6e9b38b983d2b4
17-
pristine_tree_hash: dc0b1b19cdbdbc1921b27621667d243ee2609b29
15+
generation_id: f79c2816-70a6-4d08-8080-fedc8b094ed9
16+
pristine_commit_hash: 19330641c67e7882fb23d0ac08aa053200e1d1e4
17+
pristine_tree_hash: b133243d67b17c802dddc507eda40041f4b384ae
1818
features:
1919
python:
2020
additionalDependencies: 1.0.0
2121
configurableModuleName: 0.2.0
2222
constsAndDefaults: 1.0.7
23-
core: 6.0.19
23+
core: 6.0.21
2424
defaultEnabledRetries: 0.2.0
2525
enumUnions: 0.1.1
2626
envVarSecurityUsage: 0.3.2
2727
flatRequests: 1.0.1
28-
globalSecurity: 3.0.5
28+
globalSecurity: 3.0.7
2929
globalSecurityCallbacks: 1.0.0
3030
globalSecurityFlattening: 1.0.0
3131
globalServerURLs: 3.2.1
@@ -35,7 +35,7 @@ features:
3535
nameOverrides: 3.0.3
3636
nullables: 1.0.2
3737
openEnums: 1.0.4
38-
pagination: 3.0.7
38+
pagination: 3.0.9
3939
responseFormat: 1.1.0
4040
retries: 3.0.4
4141
sdkHooks: 1.2.1
@@ -182,8 +182,8 @@ trackedFiles:
182182
pristine_git_object: 6d3133d8230ed3d6ba1ede614207deace92423b8
183183
docs/models/status.md:
184184
id: 959cd204aadf
185-
last_write_checksum: sha1:60d839b224efd6b90d492b185dc4188bdbd6b113
186-
pristine_git_object: 02da17711291d748c7cdba816b24b7767df424f9
185+
last_write_checksum: sha1:c1f6e9ec4d2f796f81ab168cdca57e78ae63c432
186+
pristine_git_object: 532c98b74f62524c319267ea9ce3d4d21914a53b
187187
docs/models/updatekeycreditsdata.md:
188188
id: 803a3b0d4b55
189189
last_write_checksum: sha1:47573358cedada27e68876fd6338601f641832b3
@@ -654,8 +654,8 @@ trackedFiles:
654654
pristine_git_object: 42a9de7b4883572d33fd257118d55ff12faf0acb
655655
pyproject.toml:
656656
id: 5d07e7d72637
657-
last_write_checksum: sha1:caa099ea8dbb06fcfdbbba513ca9d0af5d45e02d
658-
pristine_git_object: 20a46b59840929069c7273a14ebb1a2490cd9a01
657+
last_write_checksum: sha1:99a3b3907ac27e2c6653f17c2dcba5d95837cf18
658+
pristine_git_object: 892a88e4fd5c02a8365da293c046685404898edd
659659
scripts/prepare_readme.py:
660660
id: e0c5957a6035
661661
last_write_checksum: sha1:623648abfc037d1a6a3a146251169d77b83801ae
@@ -682,20 +682,20 @@ trackedFiles:
682682
pristine_git_object: 7671d6b2801c991b7b5a8329fbcd2cf1fd4b63e9
683683
src/unkey/py/_version.py:
684684
id: dd5769ea5724
685-
last_write_checksum: sha1:89ba3c860af54a297707d0bce466efa87856f53e
686-
pristine_git_object: 6fe32adc2b963e9d624599fd9c17e91c6e4526cf
685+
last_write_checksum: sha1:73a8191eabb1f400e3fa98f168ccd4240c5778a8
686+
pristine_git_object: cfb4f1e6f72a6ac333b273146a325e6659873cec
687687
src/unkey/py/analytics.py:
688688
id: 8a9a23d68313
689-
last_write_checksum: sha1:d95d4a74e827bfc4c010bfb92e317016a53314e3
690-
pristine_git_object: 3ecd365a6e633da5fa0744ced81fc432198d34ce
689+
last_write_checksum: sha1:ffb52aa63a92bb3c399eaf7e7cb49a9de44523f0
690+
pristine_git_object: 6f77e9a54d74bf34dd7fbdf39a3cb79c93573a10
691691
src/unkey/py/apis.py:
692692
id: fe64a9c06fa5
693-
last_write_checksum: sha1:70266424892402e7e4846e150d06c26f883eb515
694-
pristine_git_object: 9fd0394e40ce8fbb7660e6f86291c6e8712081a7
693+
last_write_checksum: sha1:01ae508b7c6f457ffe10262b1b9cdc466cfc4582
694+
pristine_git_object: 2a51523cd0e3e2f170becbdcefe142f8d49a95ce
695695
src/unkey/py/basesdk.py:
696696
id: 2abc2fe2b4e1
697-
last_write_checksum: sha1:c5a736e4b995a336acfeb42fe8e9def14e65c534
698-
pristine_git_object: e125550ebb2dcce6de6223bd093b330efacca319
697+
last_write_checksum: sha1:60c0c64d2311dc36e0c2aebf2edf7ab58c544519
698+
pristine_git_object: 4816b0825e36008ccb776f181bbe57e94ef3573d
699699
src/unkey/py/errors/__init__.py:
700700
id: 66fa56f36052
701701
last_write_checksum: sha1:7baf8340bad306d00e8812b2e2d4a821f0d70dd9
@@ -766,16 +766,16 @@ trackedFiles:
766766
pristine_git_object: 89560b566073785535643e694c112bedbd3db13d
767767
src/unkey/py/identities.py:
768768
id: 8cd19eced4af
769-
last_write_checksum: sha1:03138c297aa9a0fe364f97dd46daad70b432d4fb
770-
pristine_git_object: f3d0f7de4ec3d34a2d526ba1d3b3a47e8cf79e01
769+
last_write_checksum: sha1:30652c8e5fbc869556ec6d1809ee620ee06d7670
770+
pristine_git_object: 22dcf539b9568552a94f0aa6fbe22f7d3543b53a
771771
src/unkey/py/internal.py:
772772
id: 1137858e3f91
773-
last_write_checksum: sha1:25dc5700a7232c7366ab5de2e14185d9f7a4c449
774-
pristine_git_object: 76aee9b979d05527447435a0b649f16b30e470fd
773+
last_write_checksum: sha1:650e8c2e94d029bc78c787d91b662ebb6f36e2bb
774+
pristine_git_object: 35563058c837520876202af74ed21b64bc835761
775775
src/unkey/py/keys.py:
776776
id: 16399d9cff4f
777-
last_write_checksum: sha1:e9bddcc58af59deb76af4523fe61dadb546b99f1
778-
pristine_git_object: dc6cc5255a56f35479172dd7b30cde70b74aa41f
777+
last_write_checksum: sha1:a5f078091c1b6aedef04b1e3b4c996b8eef1cfd9
778+
pristine_git_object: af0ae61172d9fcb697baf005c30ff2746dec25fc
779779
src/unkey/py/models/__init__.py:
780780
id: ed00b9cad2ec
781781
last_write_checksum: sha1:a89eb5d67c898fdbd4ebe0a60cce5c804c6e97ce
@@ -934,8 +934,8 @@ trackedFiles:
934934
pristine_git_object: 83af8435a5cff31bca2a20775182f1205e26afb8
935935
src/unkey/py/models/v2deploygetdeploymentresponsedata.py:
936936
id: d9e4ae97041f
937-
last_write_checksum: sha1:50e27c3f2cec8c000e2e18f79afffd1aa45e0bee
938-
pristine_git_object: d2209a8756ea771978bc62265ad9363e71f3e284
937+
last_write_checksum: sha1:7a1afd30a7ec5f633a3bdbb447a3642a99a6fcd0
938+
pristine_git_object: cf6368468720d3542679ad9fee9e0a05269f246a
939939
src/unkey/py/models/v2deploygitcommit.py:
940940
id: a31e6067ef25
941941
last_write_checksum: sha1:ac80449312f5ef44b8ac270aac65808866bd0ae0
@@ -1274,16 +1274,16 @@ trackedFiles:
12741274
pristine_git_object: 8b65ac6eee33b929aca0b0dc51690a5248208393
12751275
src/unkey/py/permissions.py:
12761276
id: d4f3a7f81197
1277-
last_write_checksum: sha1:b8cf82c273443d885e5d3e49b38a3b09a136ec8f
1278-
pristine_git_object: 75e65767e2bacc16b5f9e7f52e84b9384a9979b8
1277+
last_write_checksum: sha1:ca64a8f7e19632db5c0b2ba0d37750e523fa6770
1278+
pristine_git_object: 116abe59d7b2f6551fe781a752e19658d5f4adc9
12791279
src/unkey/py/py.typed:
12801280
id: 9310f1c2f81a
12811281
last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60
12821282
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
12831283
src/unkey/py/ratelimit.py:
12841284
id: 67e95f778961
1285-
last_write_checksum: sha1:388fac4c9137a814f77dcf020dd24ec65dcb339b
1286-
pristine_git_object: 09fd40d7a4f2dd0b952a330fd86233ad21bd6d4c
1285+
last_write_checksum: sha1:98b0d330a091eef992d4ca1cab53c34ccde9dfb6
1286+
pristine_git_object: 2eb09509930d4614d05a2ea95ba8b07ccaf69a90
12871287
src/unkey/py/sdk.py:
12881288
id: 62460043018c
12891289
last_write_checksum: sha1:845dc0b063a81cb771b04e7ca2ac8654b9120caa
@@ -1338,8 +1338,8 @@ trackedFiles:
13381338
pristine_git_object: b661aff65d38b77d035149699aea09b2785d2fc6
13391339
src/unkey/py/utils/metadata.py:
13401340
id: 81f9d4bfb949
1341-
last_write_checksum: sha1:c6a560bd0c63ab158582f34dadb69433ea73b3d4
1342-
pristine_git_object: 173b3e5ce658675c2f504222a56b3daaaa68107d
1341+
last_write_checksum: sha1:e703e5cbb5255144aacf86898d1420529afaaff8
1342+
pristine_git_object: 5abddd588837ac297050ca3b543627faadb350a9
13431343
src/unkey/py/utils/queryparams.py:
13441344
id: b2ef6a438355
13451345
last_write_checksum: sha1:b94c3f314fd3da0d1d215afc2731f48748e2aa59
@@ -1354,12 +1354,12 @@ trackedFiles:
13541354
pristine_git_object: af07d4e941007af4213c5ec9047ef8a2fca04e5e
13551355
src/unkey/py/utils/security.py:
13561356
id: 4ecc8356a3a9
1357-
last_write_checksum: sha1:435dd8b180cefcd733e635b9fa45512da091d9c0
1358-
pristine_git_object: 17996bd54b8624009802fbbdf30bcb4225b8dfed
1357+
last_write_checksum: sha1:c11eef495b6aaa249178c24c796940cc540b7a00
1358+
pristine_git_object: 42d8d78e9981eed7507670014d99588e27ab325a
13591359
src/unkey/py/utils/serializers.py:
13601360
id: 9a61eb540761
1361-
last_write_checksum: sha1:ce1d8d7f500a9ccba0aeca5057cee9c271f4dfd7
1362-
pristine_git_object: 14321eb479de81d0d9580ec8291e0ff91bf29e57
1361+
last_write_checksum: sha1:61009f2e4ef6613a1a5af813fe020373dae5a492
1362+
pristine_git_object: d2149f8b909cb96628db140ac3cddb1b1e981367
13631363
src/unkey/py/utils/unmarshal_json_response.py:
13641364
id: 5e9d06beeb1d
13651365
last_write_checksum: sha1:6deb804011b16733ce1b0acb3c2060411f94f31a
@@ -3216,10 +3216,7 @@ examplesVersion: 1.0.2
32163216
generatedTests: {}
32173217
releaseNotes: |
32183218
## Python SDK Changes:
3219-
* `unkey.apis.list_keys()`: `response.data[].last_used_at` **Added**
3220-
* `unkey.internal.get_deployment()`: `response.data.status` **Changed**
3221-
* `unkey.keys.get_key()`: `response.data.last_used_at` **Added**
3222-
* `unkey.keys.whoami()`: `response.data.last_used_at` **Added**
3219+
* `unkey.internal.get_deployment()`: `response.data.status.enum(stopped)` **Added**
32233220
generatedFiles:
32243221
- .gitattributes
32253222
- .vscode/settings.json

api/py/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
python:
32-
version: 3.0.1
32+
version: 3.0.2
3333
additionalDependencies:
3434
dev: {}
3535
main: {}

api/py/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,14 @@ Based on:
8888
### Generated
8989
- [python v3.0.1] api/py
9090
### Releases
91-
- [PyPI v3.0.1] https://pypi.org/project/unkey.py/3.0.1 - api/py
91+
- [PyPI v3.0.1] https://pypi.org/project/unkey.py/3.0.1 - api/py
92+
93+
## 2026-04-03 00:15:50
94+
### Changes
95+
Based on:
96+
- OpenAPI Doc
97+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
98+
### Generated
99+
- [python v3.0.2] api/py
100+
### Releases
101+
- [PyPI v3.0.2] https://pypi.org/project/unkey.py/3.0.2 - api/py

api/py/docs/models/status.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ value = Status.UNSPECIFIED
2727
| `READY` | READY |
2828
| `FAILED` | FAILED |
2929
| `SKIPPED` | SKIPPED |
30-
| `AWAITING_APPROVAL` | AWAITING_APPROVAL |
30+
| `AWAITING_APPROVAL` | AWAITING_APPROVAL |
31+
| `STOPPED` | STOPPED |

api/py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "unkey.py"
4-
version = "3.0.1"
4+
version = "3.0.2"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Speakeasy" },]
77
readme = "README-PYPI.md"

api/py/src/unkey/py/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "unkey.py"
6-
__version__: str = "3.0.1"
6+
__version__: str = "3.0.2"
77
__openapi_doc_version__: str = "2.0.0"
8-
__gen_version__: str = "2.866.2"
9-
__user_agent__: str = "speakeasy-sdk/python 3.0.1 2.866.2 2.0.0 unkey.py"
8+
__gen_version__: str = "2.879.6"
9+
__user_agent__: str = "speakeasy-sdk/python 3.0.2 2.879.6 2.0.0 unkey.py"
1010

1111
try:
1212
if __package__ is not None:

api/py/src/unkey/py/analytics.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def get_verifications(
2626
For complete documentation including available tables, columns, data types, query examples, see the schema reference in the API documentation.
2727
2828
29+
If set, this operation will use `root_key` from the global security.
30+
2931
:param query: SQL query to execute against your analytics data.
3032
Only SELECT queries are allowed.
3133
@@ -69,6 +71,7 @@ def get_verifications(
6971
models.V2AnalyticsGetVerificationsRequestBody,
7072
),
7173
allow_empty_value=None,
74+
allowed_fields=["root_key"],
7275
timeout_ms=timeout_ms,
7376
)
7477

@@ -177,6 +180,8 @@ async def get_verifications_async(
177180
For complete documentation including available tables, columns, data types, query examples, see the schema reference in the API documentation.
178181
179182
183+
If set, this operation will use `root_key` from the global security.
184+
180185
:param query: SQL query to execute against your analytics data.
181186
Only SELECT queries are allowed.
182187
@@ -220,6 +225,7 @@ async def get_verifications_async(
220225
models.V2AnalyticsGetVerificationsRequestBody,
221226
),
222227
allow_empty_value=None,
228+
allowed_fields=["root_key"],
223229
timeout_ms=timeout_ms,
224230
)
225231

0 commit comments

Comments
 (0)