Skip to content

Commit bff668a

Browse files
Merge pull request #131 from gleanwork/speakeasy-sdk-regen-1774405439
chore: 🐝 Update SDK - Generate 0.12.17
2 parents dd21cc3 + 3299db3 commit bff668a

12 files changed

Lines changed: 59 additions & 47 deletions

File tree

.speakeasy/gen.lock

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 3e50d4f63b0168aa23157f21feb40c0c
4+
docChecksum: fdf0172cfa3c17fc2b9350e88863c552
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.759.1
7-
generationVersion: 2.869.10
8-
releaseVersion: 0.12.16
9-
configChecksum: 5a5e3ac7e128527241042b09aeb7be93
6+
speakeasyVersion: 1.759.2
7+
generationVersion: 2.869.23
8+
releaseVersion: 0.12.17
9+
configChecksum: 36e865d74e209331ddf988d24ca6da34
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 33f8f1c0-7013-4b2d-8751-528f5deb8ef0
15-
pristine_commit_hash: 62b371fad82f47fce7873bd8c3d2cb8e6c2cabf5
16-
pristine_tree_hash: 36a7a820f1ae56dc3e27ad1ffa37dc169ce57e79
14+
generation_id: fbb5c9ca-5265-4b25-b41b-25b459bdc6fe
15+
pristine_commit_hash: f6944e91b07b083127f3fc7de62f63cf696ad8d6
16+
pristine_tree_hash: c4a9fa012a91caa1cf2657c40f29e369541a716e
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
@@ -2731,8 +2731,8 @@ trackedFiles:
27312731
pristine_git_object: 0aa193b38d7d95cd3301469f9a6ad1260a1b1b51
27322732
docs/sdks/people/README.md:
27332733
id: ff7b3ee21c2b
2734-
last_write_checksum: sha1:46141250c3e083e1fa4f244b4e66adea510f69fb
2735-
pristine_git_object: 4450bbe42caf5db7c75d7881863b0972fa7f13a6
2734+
last_write_checksum: sha1:044b490ba98c61f47dd97cc055d0347449398fef
2735+
pristine_git_object: 7976d51e738b54167c1233ddc7a20585b3d89b8d
27362736
docs/sdks/pins/README.md:
27372737
id: e887aca9ba0f
27382738
last_write_checksum: sha1:c11aea840d911395a606a528575fe224c8a6b86a
@@ -2771,8 +2771,8 @@ trackedFiles:
27712771
pristine_git_object: e2fda7fe263c2a111e53872e3ad5bc324b4dccfe
27722772
pyproject.toml:
27732773
id: 5d07e7d72637
2774-
last_write_checksum: sha1:6881065d40671a5c4dfc900ca23da19344139b93
2775-
pristine_git_object: 788706dbdf41035d64b47954cb3e0054b5913007
2774+
last_write_checksum: sha1:4c8e59fe26e0e3caca741226a4044e4880e33979
2775+
pristine_git_object: 2d8cfb5ec32dcd1f7d06bc9122312dddb8f1289f
27762776
scripts/prepare_readme.py:
27772777
id: e0c5957a6035
27782778
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
@@ -2799,8 +2799,8 @@ trackedFiles:
27992799
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
28002800
src/glean/api_client/_version.py:
28012801
id: 0ce22b26136b
2802-
last_write_checksum: sha1:73a66a66a2c9a21f4a960e063fc7be592a804a7d
2803-
pristine_git_object: 332b156477b1462ac64fa29c8b2893ac3c2f1279
2802+
last_write_checksum: sha1:02955598088a61b0e39227ac3d5b35fc38bdf052
2803+
pristine_git_object: bff6ca752d95863ce5a20b16f9b812fd7425935b
28042804
src/glean/api_client/agents.py:
28052805
id: b925701a9217
28062806
last_write_checksum: sha1:ee99ae3d58f7f77ac2eba99c104d04d53c16c09c
@@ -2819,8 +2819,8 @@ trackedFiles:
28192819
pristine_git_object: 90fa357df14260a5a952f42b0b8500c5fee5968b
28202820
src/glean/api_client/basesdk.py:
28212821
id: a9eeecf7fa49
2822-
last_write_checksum: sha1:ccda2f226cc0c1b7d991c8210afaf86920ff7fdf
2823-
pristine_git_object: 81bace393296cfb6685a01797f20b5f0bf1624a3
2822+
last_write_checksum: sha1:d3d816ae1402d08e19e014db50bc9b62eddabc32
2823+
pristine_git_object: dec3e125b14c0afe27fc19d68e384064967cf60a
28242824
src/glean/api_client/client.py:
28252825
id: c0c188098f10
28262826
last_write_checksum: sha1:7573d8778bba72612e7afc379c05e23c1de2ed1c
@@ -4975,8 +4975,8 @@ trackedFiles:
49754975
pristine_git_object: 85e816dc7cea2c95b4e067d756e428be2696d0a4
49764976
src/glean/api_client/people.py:
49774977
id: e32c03723ded
4978-
last_write_checksum: sha1:1fa96c3a881b57c81745946eac38a67bf50359ab
4979-
pristine_git_object: 0c13dd320022cb3f133f0e74405070bd8afdf3fc
4978+
last_write_checksum: sha1:81406452a5a2c3ae7e6fe3cad0a4e1797ad397ad
4979+
pristine_git_object: f59a439b8db2be16b8a41bca85eb57a59945516d
49804980
src/glean/api_client/pins.py:
49814981
id: 4a37ead65f8a
49824982
last_write_checksum: sha1:9c72f34fc747fd9753beb6dcb967366d8c1c9181
@@ -6567,8 +6567,8 @@ trackedFiles:
65676567
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
65686568
tests/test_messages.py:
65696569
id: be23089b1f8b
6570-
last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617
6571-
pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a
6570+
last_write_checksum: sha1:b7415512608102fa07b1990a350a7da66946fe46
6571+
pristine_git_object: 636f01d348f30db3ee81985044634511b615af16
65726572
tests/test_people.py:
65736573
id: 37c243940039
65746574
last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
@@ -6591,8 +6591,8 @@ trackedFiles:
65916591
pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99
65926592
tests/test_summarize.py:
65936593
id: a255d8a6f627
6594-
last_write_checksum: sha1:e73571e213636c1cc80230aff2db516efae5e6a3
6595-
pristine_git_object: de410ac80fc43308c1eacf014fe16c530dea0f6d
6594+
last_write_checksum: sha1:d0245ffca1533446942ac2b0f1109d4f6e9888b4
6595+
pristine_git_object: f9c494d59cc7d73c8b3ea1c965b544c79625198a
65966596
tests/test_tools.py:
65976597
id: 70889bdf7321
65986598
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
@@ -7520,7 +7520,6 @@ generatedTests:
75207520
checkdatasourceauth: "2026-02-19T15:48:52Z"
75217521
getDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
75227522
updateDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
7523-
releaseNotes: "## Python SDK Changes:\n* `glean.client.search.retrieve_feed()`: \n * `request.categories[].enum(weekly_meetings)` **Added**\n * `response.results[]` **Changed**\n"
75247523
generatedFiles:
75257524
- .devcontainer/README.md
75267525
- .devcontainer/devcontainer.json

.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.16
37+
version: 0.12.17
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 3 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: 7e68a849f9cb22fa3aad6a751bde84e61caaeecd
5+
x-source-commit-sha: 7dfab98513e91afbfca673ee2a1f71cba51b38c2
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: 90e81e9efeba8e52cbef1cc075b188138649e5cd
25+
x-open-api-commit-sha: f8e6b19f37fae9d74f0370dfb927dcb70b2e3eb0
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -3275,7 +3275,7 @@ paths:
32753275
/api/index/v1/indexemployee:
32763276
post:
32773277
summary: Index employee
3278-
description: Adds an employee or updates information about an employee
3278+
description: Adds an employee or replaces the existing information about an employee.
32793279
tags:
32803280
- People
32813281
security:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.759.1
1+
speakeasyVersion: 1.759.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:3834a0cda714f67f29515eaece093358a0307b2828aff3b72a0a999c24c3f320
6-
sourceBlobDigest: sha256:e8f125b18b3bf864041e7ff2bf35cbc1aa5f38c41b15431adfd2c57af7c4cf8d
5+
sourceRevisionDigest: sha256:338f3919e72098ba812ac6e2d8535d18790aeb6859124446995ace5d03b8e394
6+
sourceBlobDigest: sha256:7eac67196941c78368363c4fe4a51d27d9c4714bd8890d6456ca045a22c3d11c
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:3834a0cda714f67f29515eaece093358a0307b2828aff3b72a0a999c24c3f320
20-
sourceBlobDigest: sha256:e8f125b18b3bf864041e7ff2bf35cbc1aa5f38c41b15431adfd2c57af7c4cf8d
19+
sourceRevisionDigest: sha256:338f3919e72098ba812ac6e2d8535d18790aeb6859124446995ace5d03b8e394
20+
sourceBlobDigest: sha256:7eac67196941c78368363c4fe4a51d27d9c4714bd8890d6456ca045a22c3d11c
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:ea365d89e223607cb7fc42765de843e17c4db2a705339eba94372b8e33a9d0ba
22+
codeSamplesRevisionDigest: sha256:c56e9f3cc28162c3a1732be6472426327003f3aeefbe5a814a408764fbcf7c02
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
@@ -668,4 +668,14 @@ Based on:
668668
### Generated
669669
- [python v0.12.16] .
670670
### Releases
671-
- [PyPI v0.12.16] https://pypi.org/project/glean-api-client/0.12.16 - .
671+
- [PyPI v0.12.16] https://pypi.org/project/glean-api-client/0.12.16 - .
672+
673+
## 2026-03-25 02:23:37
674+
### Changes
675+
Based on:
676+
- OpenAPI Doc
677+
- Speakeasy CLI 1.759.2 (2.869.23) https://github.com/speakeasy-api/speakeasy
678+
### Generated
679+
- [python v0.12.17] .
680+
### Releases
681+
- [PyPI v0.12.17] https://pypi.org/project/glean-api-client/0.12.17 - .

docs/sdks/people/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ with Glean(
106106

107107
## index
108108

109-
Adds an employee or updates information about an employee
109+
Adds an employee or replaces the existing information about an employee.
110110

111111
### Example Usage
112112

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.16"
4+
version = "0.12.17"
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.16"
6+
__version__: str = "0.12.17"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.869.10"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.16 2.869.10 0.9.0 glean-api-client"
8+
__gen_version__: str = "2.869.23"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.17 2.869.23 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

src/glean/api_client/basesdk.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _build_request_with_client(
225225
data=serialized_request_body.data,
226226
files=serialized_request_body.files,
227227
headers=headers,
228-
timeout=timeout,
228+
timeout=timeout if timeout is not None else httpx.USE_CLIENT_DEFAULT,
229229
)
230230

231231
def do_request(
@@ -245,6 +245,8 @@ def do():
245245
http_res = None
246246
try:
247247
req = hooks.before_request(BeforeRequestContext(hook_ctx), request)
248+
if "timeout" in request.extensions and "timeout" not in req.extensions:
249+
req.extensions["timeout"] = request.extensions["timeout"]
248250
logger.debug(
249251
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
250252
req.method,
@@ -320,6 +322,8 @@ async def do():
320322
hooks.before_request, BeforeRequestContext(hook_ctx), request
321323
)
322324

325+
if "timeout" in request.extensions and "timeout" not in req.extensions:
326+
req.extensions["timeout"] = request.extensions["timeout"]
323327
logger.debug(
324328
"Request:\nMethod: %s\nURL: %s\nHeaders: %s\nBody: %s",
325329
req.method,

src/glean/api_client/people.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def index(
409409
):
410410
r"""Index employee
411411
412-
Adds an employee or updates information about an employee
412+
Adds an employee or replaces the existing information about an employee.
413413
414414
:param employee: Describes employee info
415415
:param version: Version number for the employee object. If absent or 0 then no version checks are done
@@ -501,7 +501,7 @@ async def index_async(
501501
):
502502
r"""Index employee
503503
504-
Adds an employee or updates information about an employee
504+
Adds an employee or replaces the existing information about an employee.
505505
506506
:param employee: Describes employee info
507507
:param version: Version number for the employee object. If absent or 0 then no version checks are done

0 commit comments

Comments
 (0)