From c81421661b63d99cafe41c52ea11c1c8288e6523 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 6 Sep 2026 03:24:00 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.796.4 --- .speakeasy/gen.lock | 29 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 2 +- .speakeasy/workflow.lock | 10 +++---- RELEASES.md | 12 +++++++- pyproject.toml | 2 +- src/glean/api_client/_version.py | 4 +-- .../handler/pathpostrestapiv1getchat.go | 4 +-- tests/test_messages.py | 2 +- 9 files changed, 38 insertions(+), 29 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 682ee18d..a08cbfb0 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 3e3290ca-0ee8-4981-b1bc-14536048fa63 management: - docChecksum: 222e73a084effb7fc3817efd2945fc92 + docChecksum: 2b2ce854d657d789a98d46023428c81a docVersion: 0.9.0 speakeasyVersion: 1.796.4 generationVersion: 2.935.1 - releaseVersion: 0.17.4 - configChecksum: e4ab11d686c12cf3d3f7a3d2757efa16 + releaseVersion: 0.17.5 + configChecksum: ab0088b1d0f2e27272a9e98cf3c7dd75 repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: 5e225388-9e77-4845-bfd7-bfe13fa6a0db - pristine_commit_hash: 5e067eb5080fb803e343799857ce08b8324eed3e - pristine_tree_hash: c9edce0ed0954548a63ae65f360238df87d907a7 + generation_id: 21bff90e-6830-4a19-a247-68eccb8222cf + pristine_commit_hash: ca6e7a0d780c9a4643cbf7ce1a125c721ea1941c + pristine_tree_hash: 65c9aea1fb4a44bddbd870c198dad4d2cdcea14b features: python: acceptHeaders: 3.0.0 @@ -3834,8 +3834,8 @@ trackedFiles: pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:c34a2bb82413ae68dd60e637557ecaa717141b38 - pristine_git_object: 8be3a251c6fe11a9034b6ec7813671d083461a16 + last_write_checksum: sha1:2429b19fc94f0238c371f30f67b804a847039fa5 + pristine_git_object: e01dfe00291773efae14ab6c7b27699440977e7a scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -3862,8 +3862,8 @@ trackedFiles: pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:edf1216b1dbcae5be29c7fb61d7b26a4946a8783 - pristine_git_object: e04036c4c319fca0a5880bdcd7ff5a2cb08aeb80 + last_write_checksum: sha1:d5e94787ce2f3c992a0360d270e85772e0bdcc11 + pristine_git_object: ae54f341d58394d57e746074a49121a08c583f61 src/glean/api_client/agents.py: id: b925701a9217 last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085 @@ -7522,8 +7522,8 @@ trackedFiles: pristine_git_object: abb763ddc8504b28c0cb6fdf8d25237d46e21bab tests/mockserver/internal/handler/pathpostrestapiv1getchat.go: id: a0ec7bafa599 - last_write_checksum: sha1:2267292ba8173cf8df70ddbc6ac02ff3439cb879 - pristine_git_object: 8740195860b6c08e036caae19aab8e7374350960 + last_write_checksum: sha1:b48e2313407814ee4f8ed181b8e5299a84960c44 + pristine_git_object: 96d4127e0455272a9842e2d1954e5fcefa3278cc tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go: id: 7d101c69d4bc last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0 @@ -10966,8 +10966,8 @@ trackedFiles: pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9 tests/test_messages.py: id: be23089b1f8b - last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88 - pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0 + last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617 + pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a tests/test_people.py: id: 37c243940039 last_write_checksum: sha1:2b78b1c5ea17f267895188b1b48ff9fe2bc19f17 @@ -12583,7 +12583,6 @@ generatedTests: platform-trigger-presets-get: "2026-08-21T02:33:03Z" platform-trigger-presets-input-values-list: "2026-08-21T02:33:03Z" platform-trigger-presets-events-search: "2026-08-21T02:33:03Z" -releaseNotes: "## Python SDK Changes:\n* `glean.client.search.retrieve_feed()`: \n * `request.categories[]` **Changed**\n * `response.results[]` **Changed**\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index dd47f3fe..e015cb22 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.17.4 + version: 0.17.5 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 36410d0f..f16f7c65 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -3,7 +3,7 @@ info: version: "0.9.0" title: Glean API x-source-commit-sha: 59fa118cd743cd6bc9ea3c8d2816148f10c9855d - x-open-api-commit-sha: 5f42745c7a4eb0d878f881bab0606b6966aa8d72 + x-open-api-commit-sha: 83ff3b39389051c6fb840d76dc1d2072c3f50c3d description: | # Introduction 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. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b78176be..3b64fbae 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.4 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:a4a3cfb6b501f777d0ae8823d1b6126d949c013aa2b5d4d82750c1a10dd41a19 - sourceBlobDigest: sha256:06975e65553b6437600b896a50360dbee5f1710b6003f8c653eb0308f779e052 + sourceRevisionDigest: sha256:78dfba4260d1facfd0c329fcca6f01010494a2f86d72c08488aacd686788c869 + sourceBlobDigest: sha256:9536ecb3bc115c9844e6f5533b9566b19520b8824a174dd07feffd041acd9d5d tags: - latest Glean Client API: @@ -16,10 +16,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:a4a3cfb6b501f777d0ae8823d1b6126d949c013aa2b5d4d82750c1a10dd41a19 - sourceBlobDigest: sha256:06975e65553b6437600b896a50360dbee5f1710b6003f8c653eb0308f779e052 + sourceRevisionDigest: sha256:78dfba4260d1facfd0c329fcca6f01010494a2f86d72c08488aacd686788c869 + sourceBlobDigest: sha256:9536ecb3bc115c9844e6f5533b9566b19520b8824a174dd07feffd041acd9d5d codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:252caff77bef5f735970263616da9ae95091ee10010efda6ad25a24037de1eac + codeSamplesRevisionDigest: sha256:f546ac94643cc7f573cb045db189112a5c4d34d00efc6b114e50d0bfaa947b30 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 20e8658d..414cb83e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -898,4 +898,14 @@ Based on: ### Generated - [python v0.17.4] . ### Releases -- [PyPI v0.17.4] https://pypi.org/project/glean-api-client/0.17.4 - . \ No newline at end of file +- [PyPI v0.17.4] https://pypi.org/project/glean-api-client/0.17.4 - . + +## 2026-09-06 03:20:02 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.17.5] . +### Releases +- [PyPI v0.17.5] https://pypi.org/project/glean-api-client/0.17.5 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 8be3a251..e01dfe00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.17.4" +version = "0.17.5" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Glean Technologies, Inc." },] readme = "README-PYPI.md" diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index e04036c4..ae54f341 100644 --- a/src/glean/api_client/_version.py +++ b/src/glean/api_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "glean-api-client" -__version__: str = "0.17.4" +__version__: str = "0.17.5" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.935.1" -__user_agent__: str = "speakeasy-sdk/python 0.17.4 2.935.1 0.9.0 glean-api-client" +__user_agent__: str = "speakeasy-sdk/python 0.17.5 2.935.1 0.9.0 glean-api-client" try: if __package__ is not None: diff --git a/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go b/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go index 87401958..96d4127e 100644 --- a/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go +++ b/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go @@ -628,8 +628,8 @@ func testGetchatGetchat0(w http.ResponseWriter, req *http.Request) { Roles: []components.UserRoleSpecification{}, SourceDocumentSpec: types.Pointer(components.CreateDocumentSpecUnionDocumentSpec3( components.DocumentSpec3{ - UgcType: components.DocumentSpecUgcType1Shortcuts, - ContentID: 602763, + UgcType: components.DocumentSpecUgcType1Announcements, + ContentID: 848009, }, )), SourceType: components.AnswerSourceTypeAssistant.ToPointer(), diff --git a/tests/test_messages.py b/tests/test_messages.py index 36643db3..132005ec 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -18,7 +18,7 @@ def test_messages_messages(): res = glean.client.messages.retrieve( id_type=models.IDType.CONVERSATION_ID, id="", - datasource=models.Datasource.MICROSOFTTEAMS, + datasource=models.Datasource.FACEBOOKWORKPLACE, timestamp_millis=558834, ) assert res is not None From 1e0ccc1e6f6a95cb08ab182668f85f36301e85bd Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sun, 6 Sep 2026 03:24:08 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow