Skip to content

Commit b1f0a60

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.7
1 parent 96802b5 commit b1f0a60

39 files changed

Lines changed: 372 additions & 365 deletions

.speakeasy/gen.lock

Lines changed: 77 additions & 78 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.12.22
37+
version: 0.12.23
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: a9a6d4f331a3052d3347e7366e1166f483ff5cb7
5+
x-source-commit-sha: cc101a26e2eb89232090f327c5e98602cd4a38e7
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: bee9d999e037d7c61bcd75eafa0755e05e88dba7
25+
x-open-api-commit-sha: d8246b033bce54a3bd252ac9b6709ce745e4f0ed
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.761.5
1+
speakeasyVersion: 1.761.7
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:9e0b4fca588f78b58f6328e574fbca05e933d4154bba67ec143ad776d8c8088d
6-
sourceBlobDigest: sha256:b9465f539f87ad950381cb10d709405eb1be8b15b32153fcc868a7f0a621db39
5+
sourceRevisionDigest: sha256:34df5243dd09f6d9600a882fd1178a550fd9f37ff94e9fea9880e6e7315a94f6
6+
sourceBlobDigest: sha256:738ee6e82cf419fb7cc4eee5ccfd1b5bc07d604ad0e477d0f2e00016fd6ae60e
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:9e0b4fca588f78b58f6328e574fbca05e933d4154bba67ec143ad776d8c8088d
20-
sourceBlobDigest: sha256:b9465f539f87ad950381cb10d709405eb1be8b15b32153fcc868a7f0a621db39
19+
sourceRevisionDigest: sha256:34df5243dd09f6d9600a882fd1178a550fd9f37ff94e9fea9880e6e7315a94f6
20+
sourceBlobDigest: sha256:738ee6e82cf419fb7cc4eee5ccfd1b5bc07d604ad0e477d0f2e00016fd6ae60e
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:bc78a7bd1f9c3a21f81396a93ee9382698221d20071a8fc6d28ee3f460c5180c
22+
codeSamplesRevisionDigest: sha256:15a4a6614d94c2111ddad680da00d4286330aadf586e4ceb4f5312fe92377032
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,4 +728,14 @@ Based on:
728728
### Generated
729729
- [python v0.12.22] .
730730
### Releases
731-
- [PyPI v0.12.22] https://pypi.org/project/glean-api-client/0.12.22 - .
731+
- [PyPI v0.12.22] https://pypi.org/project/glean-api-client/0.12.22 - .
732+
733+
## 2026-04-17 02:40:47
734+
### Changes
735+
Based on:
736+
- OpenAPI Doc
737+
- Speakeasy CLI 1.761.7 (2.881.0) https://github.com/speakeasy-api/speakeasy
738+
### Generated
739+
- [python v0.12.23] .
740+
### Releases
741+
- [PyPI v0.12.23] https://pypi.org/project/glean-api-client/0.12.23 - .

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 = "glean-api-client"
4-
version = "0.12.22"
4+
version = "0.12.23"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Glean Technologies, Inc." },]
77
readme = "README-PYPI.md"

src/glean/api_client/_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 = "glean-api-client"
6-
__version__: str = "0.12.22"
6+
__version__: str = "0.12.23"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.879.13"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.22 2.879.13 0.9.0 glean-api-client"
8+
__gen_version__: str = "2.881.0"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.23 2.881.0 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

src/glean/api_client/agents.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def retrieve(
8585
),
8686
),
8787
request=req,
88-
error_status_codes=["400", "403", "404", "4XX", "500", "5XX"],
88+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
8989
retry_config=retry_config,
9090
)
9191

@@ -179,7 +179,7 @@ async def retrieve_async(
179179
),
180180
),
181181
request=req,
182-
error_status_codes=["400", "403", "404", "4XX", "500", "5XX"],
182+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
183183
retry_config=retry_config,
184184
)
185185

@@ -273,7 +273,7 @@ def retrieve_schemas(
273273
),
274274
),
275275
request=req,
276-
error_status_codes=["400", "403", "404", "422", "4XX", "500", "5XX"],
276+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
277277
retry_config=retry_config,
278278
)
279279

@@ -367,7 +367,7 @@ async def retrieve_schemas_async(
367367
),
368368
),
369369
request=req,
370-
error_status_codes=["400", "403", "404", "422", "4XX", "500", "5XX"],
370+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
371371
retry_config=retry_config,
372372
)
373373

@@ -458,7 +458,7 @@ def list(
458458
),
459459
),
460460
request=req,
461-
error_status_codes=["400", "403", "404", "422", "4XX", "500", "5XX"],
461+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
462462
retry_config=retry_config,
463463
)
464464

@@ -549,7 +549,7 @@ async def list_async(
549549
),
550550
),
551551
request=req,
552-
error_status_codes=["400", "403", "404", "422", "4XX", "500", "5XX"],
552+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
553553
retry_config=retry_config,
554554
)
555555

@@ -651,7 +651,7 @@ def run_stream(
651651
),
652652
),
653653
request=req,
654-
error_status_codes=["400", "403", "404", "409", "422", "4XX", "500", "5XX"],
654+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
655655
retry_config=retry_config,
656656
)
657657

@@ -753,7 +753,7 @@ async def run_stream_async(
753753
),
754754
),
755755
request=req,
756-
error_status_codes=["400", "403", "404", "409", "422", "4XX", "500", "5XX"],
756+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
757757
retry_config=retry_config,
758758
)
759759

@@ -855,7 +855,7 @@ def run(
855855
),
856856
),
857857
request=req,
858-
error_status_codes=["400", "403", "404", "409", "422", "4XX", "500", "5XX"],
858+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
859859
retry_config=retry_config,
860860
)
861861

@@ -955,7 +955,7 @@ async def run_async(
955955
),
956956
),
957957
request=req,
958-
error_status_codes=["400", "403", "404", "409", "422", "4XX", "500", "5XX"],
958+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
959959
retry_config=retry_config,
960960
)
961961

src/glean/api_client/announcements.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def create(
139139
),
140140
),
141141
request=req,
142-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
142+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
143143
retry_config=retry_config,
144144
)
145145

@@ -282,7 +282,7 @@ async def create_async(
282282
),
283283
),
284284
request=req,
285-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
285+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
286286
retry_config=retry_config,
287287
)
288288

@@ -378,7 +378,7 @@ def delete(
378378
),
379379
),
380380
request=req,
381-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
381+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
382382
retry_config=retry_config,
383383
)
384384

@@ -474,7 +474,7 @@ async def delete_async(
474474
),
475475
),
476476
request=req,
477-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
477+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
478478
retry_config=retry_config,
479479
)
480480

@@ -620,7 +620,7 @@ def update(
620620
),
621621
),
622622
request=req,
623-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
623+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
624624
retry_config=retry_config,
625625
)
626626

@@ -766,7 +766,7 @@ async def update_async(
766766
),
767767
),
768768
request=req,
769-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
769+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
770770
retry_config=retry_config,
771771
)
772772

src/glean/api_client/answers.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def create(
9292
),
9393
),
9494
request=req,
95-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
95+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
9696
retry_config=retry_config,
9797
)
9898

@@ -188,7 +188,7 @@ async def create_async(
188188
),
189189
),
190190
request=req,
191-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
191+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
192192
retry_config=retry_config,
193193
)
194194

@@ -287,7 +287,7 @@ def delete(
287287
),
288288
),
289289
request=req,
290-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
290+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
291291
retry_config=retry_config,
292292
)
293293

@@ -386,7 +386,7 @@ async def delete_async(
386386
),
387387
),
388388
request=req,
389-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
389+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
390390
retry_config=retry_config,
391391
)
392392

@@ -561,7 +561,7 @@ def update(
561561
),
562562
),
563563
request=req,
564-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
564+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
565565
retry_config=retry_config,
566566
)
567567

@@ -736,7 +736,7 @@ async def update_async(
736736
),
737737
),
738738
request=req,
739-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
739+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
740740
retry_config=retry_config,
741741
)
742742

@@ -835,7 +835,7 @@ def retrieve(
835835
),
836836
),
837837
request=req,
838-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
838+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
839839
retry_config=retry_config,
840840
)
841841

@@ -934,7 +934,7 @@ async def retrieve_async(
934934
),
935935
),
936936
request=req,
937-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
937+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
938938
retry_config=retry_config,
939939
)
940940

@@ -1033,7 +1033,7 @@ def list(
10331033
),
10341034
),
10351035
request=req,
1036-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
1036+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
10371037
retry_config=retry_config,
10381038
)
10391039

@@ -1132,7 +1132,7 @@ async def list_async(
11321132
),
11331133
),
11341134
request=req,
1135-
error_status_codes=["400", "401", "429", "4XX", "5XX"],
1135+
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
11361136
retry_config=retry_config,
11371137
)
11381138

0 commit comments

Comments
 (0)