From fc75c5f9852d5cb83ab03632cde029c2f89ccd9d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 19 Jan 2026 01:59:52 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.688.0 --- .speakeasy/gen.lock | 28 ++++++++++++++-------------- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 4 ++-- .speakeasy/workflow.lock | 14 +++++++------- RELEASES.md | 12 +++++++++++- poetry.lock | 4 ++-- pyproject.toml | 2 +- src/glean/api_client/_version.py | 6 +++--- tests/test_summarize.py | 8 +++++--- 9 files changed, 46 insertions(+), 34 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1b4f5481..9f86c985 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: 91d38b9d4b28ef9b1b98e10a0b5a7371 + docChecksum: ad11282523108bb5e1bd0df1e06d5d02 docVersion: 0.9.0 - speakeasyVersion: 1.686.0 - generationVersion: 2.796.1 - releaseVersion: 0.11.27 - configChecksum: 37e1926f5925719f705610da6ba7d40e + speakeasyVersion: 1.688.0 + generationVersion: 2.796.4 + releaseVersion: 0.11.28 + configChecksum: 03e7fbb96c493ad4660d4b3db19252bc repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: 8295e5cc-3cba-4720-b40b-d377a32f9ce7 - pristine_commit_hash: ec8d0cb548d884b034e3aa08460751054ec7dca1 - pristine_tree_hash: f2f4799cb7a7f9af40b1a07a81904fe71f4a3e37 + generation_id: 11e4b890-953c-408c-884c-2c6b03dbdc74 + pristine_commit_hash: 159749ad3fc23f892c19928b6d3dd0ed714e3164 + pristine_tree_hash: 8aa6b754692a73856ce1fa6900a72f3158747652 features: python: additionalDependencies: 1.0.0 @@ -2607,8 +2607,8 @@ trackedFiles: pristine_git_object: 8e34b78a71b8bb97bad6dea99d0f791beb134e5b pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:e74ee3184e376810b0ad328b5c651c9c3cc31cd0 - pristine_git_object: a92333900a6aabd7e86b21f5b1cc0e4c5a232b11 + last_write_checksum: sha1:64ad0265b35e1f7b8e4b1e63978a4a5682155fc2 + pristine_git_object: 0907c294cdfd5063c422800361e711b026cb226a scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -2635,8 +2635,8 @@ trackedFiles: pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:188529d678c18f5c3fb9c35fc9cd1e0f75e4297e - pristine_git_object: 64da52a597a1b036329005760a371e97949a7eb6 + last_write_checksum: sha1:e66b2d7825e786577b70cd553e44fba834649ba5 + pristine_git_object: 99716d7607a70660995e74d7fd6708c658dd5659 src/glean/api_client/agents.py: id: b925701a9217 last_write_checksum: sha1:56f1329fbf799ea92ed30229d4ed2404666d455d @@ -6249,8 +6249,8 @@ trackedFiles: pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99 tests/test_summarize.py: id: a255d8a6f627 - last_write_checksum: sha1:4f50b660d414adea1d509dfc957eb74a12654ee4 - pristine_git_object: 63b4eb8541c2b110dab6dda746fef9ac074611f1 + last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f + pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82 tests/test_tools.py: id: 70889bdf7321 last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 5194a521..00ac7d6b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.11.27 + version: 0.11.28 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index f8520c95..f8f65d80 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: version: 0.9.0 title: Glean API - x-source-commit-sha: 17a84cfc3e3f0e0a3eec1792cf57a65f444d613e + x-source-commit-sha: 3408ba6c7c333ded579a081c3a13cf533f97e703 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. @@ -22,7 +22,7 @@ info: These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice. x-logo: url: https://app.glean.com/images/glean-text2.svg - x-open-api-commit-sha: 3bb1859df9ba2cff7a43d5b1c336bb826a766b4c + x-open-api-commit-sha: 1dbc22d5075eaf7a459b13f1f5ac3a68ab8b8d8c x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 7163a0bc..a2207e78 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.686.0 +speakeasyVersion: 1.688.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc - sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37 + sourceRevisionDigest: sha256:9dc4bfe151e41a8db58cac21adfe385e1b5edbcf73568c1fe5282d5530405c64 + sourceBlobDigest: sha256:f0a7ce6b76ceaf5b73c527e6e6798bbfff065a9c5923fcaafb2255ce3d7479b7 tags: - latest - - speakeasy-sdk-regen-1768441819 + - speakeasy-sdk-regen-1768614376 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:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc - sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37 + sourceRevisionDigest: sha256:9dc4bfe151e41a8db58cac21adfe385e1b5edbcf73568c1fe5282d5530405c64 + sourceBlobDigest: sha256:f0a7ce6b76ceaf5b73c527e6e6798bbfff065a9c5923fcaafb2255ce3d7479b7 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:77edd92d12a6f8e9e87bc2578f8369e25dba1060192ba455304996c267701c6a + codeSamplesRevisionDigest: sha256:33309b0a12ef7143fac9644b24cb1001e4e1d67ee1c7f428133866823345f5cc workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 96a2a717..ddb8dd18 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -498,4 +498,14 @@ Based on: ### Generated - [python v0.11.27] . ### Releases -- [PyPI v0.11.27] https://pypi.org/project/glean-api-client/0.11.27 - . \ No newline at end of file +- [PyPI v0.11.27] https://pypi.org/project/glean-api-client/0.11.27 - . + +## 2026-01-19 01:56:05 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.688.0 (2.796.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.11.28] . +### Releases +- [PyPI v0.11.28] https://pypi.org/project/glean-api-client/0.11.28 - . \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index 0b8f586a..87e99b6e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.0 and should not be changed by hand. [[package]] name = "annotated-types" @@ -533,7 +533,7 @@ files = [ ] [package.dependencies] -astroid = ">=3.2.2,<=3.3.0-dev0" +astroid = ">=3.2.2,<=3.3.0.dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, diff --git a/pyproject.toml b/pyproject.toml index a9233390..0907c294 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.11.27" +version = "0.11.28" 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 64da52a5..99716d76 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.11.27" +__version__: str = "0.11.28" __openapi_doc_version__: str = "0.9.0" -__gen_version__: str = "2.796.1" -__user_agent__: str = "speakeasy-sdk/python 0.11.27 2.796.1 0.9.0 glean-api-client" +__gen_version__: str = "2.796.4" +__user_agent__: str = "speakeasy-sdk/python 0.11.28 2.796.4 0.9.0 glean-api-client" try: if __package__ is not None: diff --git a/tests/test_summarize.py b/tests/test_summarize.py index 63b4eb85..cac8e978 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 +from glean.api_client import Glean, models import os from tests.test_client import create_test_http_client @@ -18,10 +18,12 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "url": "https://dim-glider.com/", + "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, + "content_id": 602763, }, { - "id": "", + "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, + "content_id": 602763, }, ] ) From 9905e70dc667a5f75f0f1a4b27df93691b3d37d9 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 02:00:04 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow