From 78e67035328a3f3f7ff5284c42bd663a6840895e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 18 Nov 2026 06:19:31 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.810.0 --- .speakeasy/gen.lock | 43 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 7 +-- .speakeasy/workflow.lock | 10 ++--- RELEASES.md | 12 +++++- docs/models/insightsoverviewresponse.md | 2 +- pyproject.toml | 2 +- src/glean/api_client/_version.py | 4 +- .../models/insightsoverviewresponse.py | 4 +- .../components/insightsoverviewresponse.go | 2 +- tests/test_messages.py | 2 +- tests/test_summarize.py | 8 ++-- 12 files changed, 53 insertions(+), 45 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 854bfb03..b8bb861f 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: b5e6aaf09569e076c7321d15cf12c515 + docChecksum: 12fc3edafa4308751250c83c09739996 docVersion: 0.9.0 speakeasyVersion: 1.810.0 generationVersion: 2.961.1 - releaseVersion: 0.17.24 - configChecksum: 116488d5830105475c1bd67473354480 + releaseVersion: 0.17.25 + configChecksum: ea48c076b4cb48a66f247c529bb586a6 repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: 08a78376-586f-40be-bb90-2695174f008a - pristine_commit_hash: 1438fc36fbbcda477e755c0b0bd4ea9917fdf1bd - pristine_tree_hash: 588c5bbd1132019cf7d1de13996833012c76153b + generation_id: 0ae346ca-4ea8-46b7-9370-8267306e60c7 + pristine_commit_hash: 38e6cfb7044d730a92622c73adbaf76242d6f187 + pristine_tree_hash: bc702c0a37ae94b8c6891ddc481202f848ce0845 features: python: acceptHeaders: 3.0.0 @@ -1922,8 +1922,8 @@ trackedFiles: pristine_git_object: b6fc7e69c80120509d9f691f3ba92d586b09f61d docs/models/insightsoverviewresponse.md: id: c980a8e3a69e - last_write_checksum: sha1:49d1977273ff59a0c1a24a45fb2ebb3a18b6bb67 - pristine_git_object: d14c740785f04995c49ea44a5312c07da72ffa55 + last_write_checksum: sha1:6801aee93eaa52ef2891b8e4c99fd1fb79715051 + pristine_git_object: 07df004e3513ed682a52dfa6bc2c016bec69d5e8 docs/models/insightsrequest.md: id: 13eaa34edff4 last_write_checksum: sha1:43421d855599f8045baf28ab774eb06de08c2acb @@ -4318,8 +4318,8 @@ trackedFiles: pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:ba2f72d754318d9e0a40a5eb1e52c19e05c489e6 - pristine_git_object: c1aeb95aa4528b02ec9990cd7080c5bce5587472 + last_write_checksum: sha1:33e0614761950d0be00e5b20a190510d6062632c + pristine_git_object: 680d9d68666eb82c8ebcc2a4cc31844e06c927dc scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -4346,8 +4346,8 @@ trackedFiles: pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:69b02cb1fefad4a4bfe632daba7a35cfbb1e00f3 - pristine_git_object: 75f528b2b79af3c579327ab727be3c0967494eb9 + last_write_checksum: sha1:377c1cff304cd9bc091ff32a89ef44079934c907 + pristine_git_object: e72a33bafe83a27a9eb6ea6b2557d42182999643 src/glean/api_client/admin.py: id: 583cfae82adf last_write_checksum: sha1:3c462f418d2b32a90c92f88121867a73295b0c6c @@ -6010,8 +6010,8 @@ trackedFiles: pristine_git_object: 8335f24b795d10724eb509ed9e6de213b4bcb302 src/glean/api_client/models/insightsoverviewresponse.py: id: 9f278319d18c - last_write_checksum: sha1:ab97e290cf666de4b23f238164e7ea679dbda286 - pristine_git_object: 0e20674503b53c359349ea3d3dc57a8d832a6fed + last_write_checksum: sha1:c2581a31442f06c33852d347f143381bb94362f4 + pristine_git_object: 702734e35dff5a6a0f63d43e040f0adbe02f8f25 src/glean/api_client/models/insightsrequest.py: id: 72fbc9d1c47b last_write_checksum: sha1:2c8a18aeb6a66d39d9a06c76075b9aa413587ab0 @@ -9842,8 +9842,8 @@ trackedFiles: pristine_git_object: 5e903919f103f212820d2d4717e0e1e95d78846b tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go: id: 5643c3cf2f72 - last_write_checksum: sha1:38ab70635b4b9fc592ef3e863272410f1db855f4 - pristine_git_object: a4872a274ca370eae187a079685b7b919c776a56 + last_write_checksum: sha1:9c0066315647c55ecd97fbb7ad45ede0fe090290 + pristine_git_object: 200d888d000dd568ff67faee10cf530f4698acba tests/mockserver/internal/sdk/models/components/insightsrequest.go: id: ce15dfb99343 last_write_checksum: sha1:b9f1c9680014aa2b60161886dc0d5932ef0cab20 @@ -12290,8 +12290,8 @@ trackedFiles: pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9 tests/test_messages.py: id: be23089b1f8b - last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30 - pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298 + last_write_checksum: sha1:a91c985cd1d11560059dc448b10e0c7b75ed60e5 + pristine_git_object: dfdc18641f0d6c38d84b4603ad2da71f75f2e13c tests/test_people.py: id: 37c243940039 last_write_checksum: sha1:2b78b1c5ea17f267895188b1b48ff9fe2bc19f17 @@ -12318,8 +12318,8 @@ trackedFiles: pristine_git_object: 1c854370da050c261cb2cbcf9cc16829f5d8e78c tests/test_summarize.py: id: a255d8a6f627 - last_write_checksum: sha1:dc8fc131020d3c55cda6a5a506cd62032c44171e - pristine_git_object: 28d18f609bba559e061ac9a444c5826794e52f7d + last_write_checksum: sha1:367417f1b71aab34594032d6aa37244738fc66bc + pristine_git_object: 3999911609e0bd22b67ef8723b40302e7f0068a8 tests/test_tools.py: id: 70889bdf7321 last_write_checksum: sha1:e9e37efd6a65d805c02d70d548df9c87dd062b0e @@ -14193,9 +14193,6 @@ generatedTests: platform-documents-get: "2026-11-09T19:56:00Z" platform-documents-batch: "2026-11-09T19:56:00Z" platform-search-enumeration: "2026-11-16T11:51:20Z" -releaseNotes: | - ## Python SDK Changes: - * `glean.search.enumerate()`: **Removed** (Breaking ⚠️) generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 353ae39e..a3f05b69 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -35,7 +35,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.17.24 + version: 0.17.25 additionalDependencies: dev: {} main: diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index ad10f296..5173cd57 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,8 +2,8 @@ openapi: 3.1.0 info: version: "0.9.0" title: Glean API - x-source-commit-sha: 2f6fc4fe9fed01ad76ee9aa694041c743bd74875 - x-open-api-commit-sha: 241062eca12866ea62b6e58d504ef481935fcf48 + x-source-commit-sha: e700f08565eea5d97a7c9311da1e90a69b7eef55 + x-open-api-commit-sha: 104757e08b069ea9bc47f7ddfd4243c63ba9f86c 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. @@ -20567,7 +20567,8 @@ components: description: Unix timestamp of the last update for the insights data in the response. totalSignupsWeekAgo: type: integer - description: Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. + description: Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero. + x-includeEmpty: true searchSessionSatisfaction: type: number format: float diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 22dadb7b..4e185b68 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.810.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5 - sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492 + sourceRevisionDigest: sha256:e9c01f0bdd9363867368c2b7694de9add100848a67e9c0c67cf849519a31308a + sourceBlobDigest: sha256:2a23c03399a93d61362832914273da23f78a15f6b37d362764f51f0d1ced9f24 tags: - latest Glean Client API: @@ -16,10 +16,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5 - sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492 + sourceRevisionDigest: sha256:e9c01f0bdd9363867368c2b7694de9add100848a67e9c0c67cf849519a31308a + sourceBlobDigest: sha256:2a23c03399a93d61362832914273da23f78a15f6b37d362764f51f0d1ced9f24 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:491648483ef0c88e55908bf76ebf15e746ebf4656f736ba3b0dc1c5403611c88 + codeSamplesRevisionDigest: sha256:60d7f745d1b81e54398a898e4b851857e5c6c7ca0da853781824f42ad2dc632a workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index cb00306e..8eaf54b0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1098,4 +1098,14 @@ Based on: ### Generated - [python v0.17.24] . ### Releases -- [PyPI v0.17.24] https://pypi.org/project/glean-api-client/0.17.24 - . \ No newline at end of file +- [PyPI v0.17.24] https://pypi.org/project/glean-api-client/0.17.24 - . + +## 2026-11-18 06:15:53 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.810.0 (2.961.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.17.25] . +### Releases +- [PyPI v0.17.25] https://pypi.org/project/glean-api-client/0.17.25 - . \ No newline at end of file diff --git a/docs/models/insightsoverviewresponse.md b/docs/models/insightsoverviewresponse.md index d14c7407..07df004e 100644 --- a/docs/models/insightsoverviewresponse.md +++ b/docs/models/insightsoverviewresponse.md @@ -19,7 +19,7 @@ | `extension_summary` | [Optional[models.CurrentActiveUsers]](../models/currentactiveusers.md) | :heavy_minus_sign: | N/A | | `ugc_summary` | [Optional[models.CurrentActiveUsers]](../models/currentactiveusers.md) | :heavy_minus_sign: | N/A | | `last_updated_ts` | *Optional[int]* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. | -| `total_signups_week_ago` | *Optional[int]* | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. | +| `total_signups_week_ago` | *Optional[int]* | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero. | | ~~`search_session_satisfaction`~~ | *Optional[float]* | :heavy_minus_sign: | :warning: **DEPRECATED**: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives..

Search session satisfaction rate, over the specified time period in the specified departments. | | `monthly_active_user_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A | | `weekly_active_user_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A | diff --git a/pyproject.toml b/pyproject.toml index c1aeb95a..680d9d68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.17.24" +version = "0.17.25" 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 75f528b2..e72a33ba 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.24" +__version__: str = "0.17.25" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.961.1" -__user_agent__: str = "speakeasy-sdk/python 0.17.24 2.961.1 0.9.0 glean-api-client" +__user_agent__: str = "speakeasy-sdk/python 0.17.25 2.961.1 0.9.0 glean-api-client" try: if __package__ is not None: diff --git a/src/glean/api_client/models/insightsoverviewresponse.py b/src/glean/api_client/models/insightsoverviewresponse.py index 0e206745..702734e3 100644 --- a/src/glean/api_client/models/insightsoverviewresponse.py +++ b/src/glean/api_client/models/insightsoverviewresponse.py @@ -41,7 +41,7 @@ class InsightsOverviewResponseTypedDict(TypedDict): last_updated_ts: NotRequired[int] r"""Unix timestamp of the last update for the insights data in the response.""" total_signups_week_ago: NotRequired[int] - r"""Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change.""" + r"""Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero.""" search_session_satisfaction: NotRequired[float] r"""Search session satisfaction rate, over the specified time period in the specified departments.""" monthly_active_user_timeseries: NotRequired[LabeledCountInfoTypedDict] @@ -133,7 +133,7 @@ class InsightsOverviewResponse(BaseModel): total_signups_week_ago: Annotated[ Optional[int], pydantic.Field(alias="totalSignupsWeekAgo") ] = None - r"""Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change.""" + r"""Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero.""" search_session_satisfaction: Annotated[ Optional[float], diff --git a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go index a4872a27..200d888d 100644 --- a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go +++ b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go @@ -23,7 +23,7 @@ type InsightsOverviewResponse struct { UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"` // Unix timestamp of the last update for the insights data in the response. LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"` - // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. + // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero. TotalSignupsWeekAgo *int64 `json:"totalSignupsWeekAgo,omitempty"` // Search session satisfaction rate, over the specified time period in the specified departments. // diff --git a/tests/test_messages.py b/tests/test_messages.py index c0fd29da..dfdc1864 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.SLACK, + datasource=models.Datasource.SLACKENTGRID, timestamp_millis=558834, ) assert res is not None diff --git a/tests/test_summarize.py b/tests/test_summarize.py index 28d18f60..39999116 100644 --- a/tests/test_summarize.py +++ b/tests/test_summarize.py @@ -18,12 +18,12 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "ugc_type": models.DocumentSpecUgcType1.CHATS, - "content_id": 735985, + "ugc_type": models.DocumentSpecUgcType2.COLLECTIONS, + "ugc_id": "", }, { - "ugc_type": models.DocumentSpecUgcType1.CHATS, - "content_id": 735985, + "ugc_type": models.DocumentSpecUgcType1.ANSWERS, + "content_id": 823890, }, ] ) From a57ea57007a1687be64e95be9c26fe2af432fd14 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 06:19:38 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow