From f8503c649fd54575b6f79585e2833a62ed7c27c5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 20 Apr 2026 16:30:12 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.8 --- .speakeasy/gen.lock | 28 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 2 +- RELEASES.md | 12 +++++++- pyproject.toml | 2 +- src/glean/api_client/_version.py | 4 +-- .../handler/pathpostrestapiv1getchat.go | 4 +-- tests/test_messages.py | 2 +- tests/test_summarize.py | 7 +++-- 9 files changed, 37 insertions(+), 26 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 50191351..3c86e4de 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -5,15 +5,15 @@ management: docVersion: 0.9.0 speakeasyVersion: 1.761.8 generationVersion: 2.881.2 - releaseVersion: 0.12.23 - configChecksum: cd5fdec511096649530bb13c6e69caf5 + releaseVersion: 0.12.24 + configChecksum: 9cfd2ffe12f50ecc2330ef075db81617 repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: a3da4dc6-eb57-48cb-b4f8-8f17b4eaaf36 - pristine_commit_hash: ab8527b36e130f9eae327b187b42dcb2995ed724 - pristine_tree_hash: e450a6ae3a3fa344c851c7fe47a436354486836c + generation_id: 2fceeaae-a67f-43df-9b74-f48414e52c01 + pristine_commit_hash: c650fdd3a03d0a61c49d1730c63b81dc0bc3df72 + pristine_tree_hash: 100bd3bd2af8e452f6eb4efc38bb4ee68ef67acf features: python: additionalDependencies: 1.0.0 @@ -2787,8 +2787,8 @@ trackedFiles: pristine_git_object: e2fda7fe263c2a111e53872e3ad5bc324b4dccfe pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:2279d65d6743cb8b14c0c347a21d39ed4202b868 - pristine_git_object: 5666d98ad2ef279956ccf0f88a3bcbd0cb420225 + last_write_checksum: sha1:1476c3b7e14a27c26723cc7f3a476a4cbc766cc5 + pristine_git_object: 5f4520c8ae37f1be6e3b00f0fd53092c6f55a24e scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -2815,8 +2815,8 @@ trackedFiles: pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:30fda2e51481f51d4598a1e635237b2ef3ac616c - pristine_git_object: a5308bafa29cf876f921656ecf5cb7008d710de4 + last_write_checksum: sha1:0538e65f8fdd1206a7d8eaa1e9cef772202c7596 + pristine_git_object: f74aefe7e9cba3d88bfc95df27bbf172f41f3346 src/glean/api_client/agents.py: id: b925701a9217 last_write_checksum: sha1:e9608819a04566ba6e711f8f7cc9527d5dd095c9 @@ -5278,7 +5278,7 @@ trackedFiles: tests/mockserver/internal/handler/pathpostrestapiv1getanswer.go: last_write_checksum: sha1:80bc08894cebfd78f82d3d80f93fd85a11b55d45 tests/mockserver/internal/handler/pathpostrestapiv1getchat.go: - last_write_checksum: sha1:b48e2313407814ee4f8ed181b8e5299a84960c44 + last_write_checksum: sha1:2267292ba8173cf8df70ddbc6ac02ff3439cb879 tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go: last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0 tests/mockserver/internal/handler/pathpostrestapiv1getchatfiles.go: @@ -6601,8 +6601,8 @@ trackedFiles: pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9 tests/test_messages.py: id: be23089b1f8b - last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617 - pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a + last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30 + pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298 tests/test_people.py: id: 37c243940039 last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f @@ -6625,8 +6625,8 @@ trackedFiles: pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99 tests/test_summarize.py: id: a255d8a6f627 - last_write_checksum: sha1:a327189497f3a2b98c2e277757da4e4ba22cf768 - pristine_git_object: 072b3207b89ff92c8a22b828c32ce23e2ae0ba88 + last_write_checksum: sha1:367417f1b71aab34594032d6aa37244738fc66bc + pristine_git_object: 3999911609e0bd22b67ef8723b40302e7f0068a8 tests/test_tools.py: id: 70889bdf7321 last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index a16cb6e7..47a0a91b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.12.23 + version: 0.12.24 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 85defbb8..b3e157bb 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -19,7 +19,7 @@ targets: sourceRevisionDigest: sha256:5fafd8224d41224b85cbb5f39c686e5da647fadcd8211bc9fae3c0834341dae6 sourceBlobDigest: sha256:884a6119e9d59c15d47e169eaa496571dae1c106d390990aee38a25cb51e42c3 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:15a4a6614d94c2111ddad680da00d4286330aadf586e4ceb4f5312fe92377032 + codeSamplesRevisionDigest: sha256:a27eea73777cc4edfef51cc35c782727435e0b85e3df5308abe12ee7d6857a23 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index cf10f25e..b54754e3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -738,4 +738,14 @@ Based on: ### Generated - [python v0.12.23] . ### Releases -- [PyPI v0.12.23] https://pypi.org/project/glean-api-client/0.12.23 - . \ No newline at end of file +- [PyPI v0.12.23] https://pypi.org/project/glean-api-client/0.12.23 - . + +## 2026-04-20 16:27:55 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.761.8 (2.881.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.12.24] . +### Releases +- [PyPI v0.12.24] https://pypi.org/project/glean-api-client/0.12.24 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5666d98a..5f4520c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.12.23" +version = "0.12.24" 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 a5308baf..f74aefe7 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.12.23" +__version__: str = "0.12.24" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.881.2" -__user_agent__: str = "speakeasy-sdk/python 0.12.23 2.881.2 0.9.0 glean-api-client" +__user_agent__: str = "speakeasy-sdk/python 0.12.24 2.881.2 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 96d4127e..87401958 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.DocumentSpecUgcType1Announcements, - ContentID: 848009, + UgcType: components.DocumentSpecUgcType1Shortcuts, + ContentID: 602763, }, )), SourceType: components.AnswerSourceTypeAssistant.ToPointer(), diff --git a/tests/test_messages.py b/tests/test_messages.py index 132005ec..c0fd29da 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.FACEBOOKWORKPLACE, + datasource=models.Datasource.SLACK, timestamp_millis=558834, ) assert res is not None diff --git a/tests/test_summarize.py b/tests/test_summarize.py index 072b3207..39999116 100644 --- a/tests/test_summarize.py +++ b/tests/test_summarize.py @@ -18,11 +18,12 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "id": "", + "ugc_type": models.DocumentSpecUgcType2.COLLECTIONS, + "ugc_id": "", }, { - "ugc_type": models.DocumentSpecUgcType2.SHORTCUTS, - "ugc_id": "", + "ugc_type": models.DocumentSpecUgcType1.ANSWERS, + "content_id": 823890, }, ] ) From 7502035b57143390f7477947a8815d4553c22167 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:30:25 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow