From a9b5e91c8a7d9f94371b9f060690aaf73800db1f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Nov 2025 21:00:04 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.650.0 --- .speakeasy/gen.lock | 9 +++------ .speakeasy/gen.yaml | 3 ++- .speakeasy/glean-merged-spec.yaml | 1 + .speakeasy/workflow.lock | 12 ++++++------ RELEASES.md | 12 +++++++++++- pyproject.toml | 2 +- src/glean/api_client/_version.py | 4 ++-- .../internal/handler/pathpostrestapiv1getchat.go | 4 ++-- tests/test_summarize.py | 8 +++----- 9 files changed, 31 insertions(+), 24 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index fe605eb0..4a580f6d 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3e3290ca-0ee8-4981-b1bc-14536048fa63 management: - docChecksum: 09ae73bbaebb3968dc7590f295580164 + docChecksum: 044fcc6694ac3a5461d37039dd1ae397 docVersion: 0.9.0 speakeasyVersion: 1.650.0 generationVersion: 2.743.2 - releaseVersion: 0.11.8 - configChecksum: 822545fd662c7ee4c3cd04767a37a98a + releaseVersion: 0.11.10 + configChecksum: 37e740dcdd01591ff225d259dc6ff5dd repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true @@ -2742,6 +2742,3 @@ generatedTests: editcollection: "2025-06-12T19:13:52-04:00" createshortcut: "2025-06-12T19:13:52-04:00" updateshortcut: "2025-06-12T19:13:52-04:00" -releaseNotes: | - ## Python SDK Changes Detected: - * `glean.client.chat.retrieve_files()`: `request.chat_id` **Removed** **Breaking** :warning: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index fb5f5a3c..5b05ba4f 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.11.8 + version: 0.11.10 additionalDependencies: dev: {} main: {} @@ -63,6 +63,7 @@ python: webhooks: "" inputModelSuffix: input legacyPyright: true + license: "" maxMethodParams: 999 methodArguments: infer-optional-args moduleName: glean.api_client diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 0066cfe7..0f4e3d33 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,6 +2,7 @@ openapi: 3.0.0 info: version: 0.9.0 title: Glean API + x-source-commit-sha: 8f565e6072898e4f6fca86fa97978efc4ea33975 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 433e7b22..ea955fcc 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6 - sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172 + sourceRevisionDigest: sha256:689726080c55db3f7b53081650cbe149ee904c25ff811dea86255ebb4c9affae + sourceBlobDigest: sha256:63374cc02e60ae0943d2b9f58fc9013c5811d9759a03dc45398c457cf8b88921 tags: - latest - - speakeasy-sdk-regen-1763081166 + - speakeasy-sdk-regen-1763146006 Glean Client API: sourceNamespace: glean-client-api sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2 @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6 - sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172 + sourceRevisionDigest: sha256:689726080c55db3f7b53081650cbe149ee904c25ff811dea86255ebb4c9affae + sourceBlobDigest: sha256:63374cc02e60ae0943d2b9f58fc9013c5811d9759a03dc45398c457cf8b88921 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:90843eca9fa9c37835f6112e07ce874530d24ae6fae39dc90721d789ca30ba08 + codeSamplesRevisionDigest: sha256:a77ddccee3b18c2b4fbb83554bae7a9f53fc641db862b4a4f5e5ef9006f749b3 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index b7552460..cd4da4f2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -378,4 +378,14 @@ Based on: ### Generated - [python v0.11.8] . ### Releases -- [PyPI v0.11.8] https://pypi.org/project/glean/0.11.8 - . \ No newline at end of file +- [PyPI v0.11.8] https://pypi.org/project/glean/0.11.8 - . + +## 2025-11-14 20:55:41 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.11.10] . +### Releases +- [PyPI v0.11.10] https://pypi.org/project/glean/0.11.10 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5a818ac9..afc7a471 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "glean-api-client" -version = "0.11.8" +version = "0.11.10" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Glean Technologies, Inc." }] license = "MIT" diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index ad927718..4317e3d3 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" -__version__: str = "0.11.8" +__version__: str = "0.11.10" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.743.2" -__user_agent__: str = "speakeasy-sdk/python 0.11.8 2.743.2 0.9.0 glean" +__user_agent__: str = "speakeasy-sdk/python 0.11.10 2.743.2 0.9.0 glean" try: if __package__ is not None: diff --git a/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go b/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go index f8469b5b..35e69d35 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_summarize.py b/tests/test_summarize.py index cac8e978..63b4eb85 100644 --- a/tests/test_summarize.py +++ b/tests/test_summarize.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -from glean.api_client import Glean, models +from glean.api_client import Glean import os from tests.test_client import create_test_http_client @@ -18,12 +18,10 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, - "content_id": 602763, + "url": "https://dim-glider.com/", }, { - "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, - "content_id": 602763, + "id": "", }, ] ) From ba15cc548612e3aa63f38f3c18b8627983e10636 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:00:13 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow