Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: ed13e77a19577b3ef21f957e7eca8fd9
docChecksum: de30adaa45770c1a3dd4fee14b4cc346
docVersion: 0.9.0
speakeasyVersion: 1.808.1
generationVersion: 2.960.8
releaseVersion: 0.17.20
configChecksum: 4b31cb88e014873965cf06557eb57d93
releaseVersion: 0.17.21
configChecksum: 8b7b0e067cb1656303a9aee28978f0d6
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: d5328025-44cf-4c8a-a274-f69bb9dde244
pristine_commit_hash: bb546da6a8bc938262e13595c7a61a1fd3134b3c
pristine_tree_hash: c8fca02b44f91ce094c4c92b98b646f6aca900e0
generation_id: 9c460740-b2af-437d-a8e5-fa70e03c1d38
pristine_commit_hash: c7aea59ae01d2f731334aaaa934a6416598a070b
pristine_tree_hash: 98ec66bc2e7d74024cde4db8612a238cfc55c571
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -4354,8 +4354,8 @@ trackedFiles:
pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:15850739d7f9fc60737ff8945b16c4715351935d
pristine_git_object: 44401e70ac9beb5088d20545a8281f7347440ece
last_write_checksum: sha1:904b56067548cc123897bcbb78d8a1b1d7b250bc
pristine_git_object: f1cfff38c1f92f6215d337ba120b8eb3b05f3d1f
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -4382,8 +4382,8 @@ trackedFiles:
pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:415f4a02ffcdb4eb8e02d9203b1704edd6ff436d
pristine_git_object: fd514109d2468386efa006e9615e40afe7329871
last_write_checksum: sha1:c701d4165261b90fc16d8508f6e8b930a7395223
pristine_git_object: a5a33c340b66dcfa2d0c36e7e2afc1c89b9f26c8
src/glean/api_client/admin.py:
id: 583cfae82adf
last_write_checksum: sha1:3c462f418d2b32a90c92f88121867a73295b0c6c
Expand Down Expand Up @@ -12342,8 +12342,8 @@ trackedFiles:
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
tests/test_messages.py:
id: be23089b1f8b
last_write_checksum: sha1:a91c985cd1d11560059dc448b10e0c7b75ed60e5
pristine_git_object: dfdc18641f0d6c38d84b4603ad2da71f75f2e13c
last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617
pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a
tests/test_people.py:
id: 37c243940039
last_write_checksum: sha1:2b78b1c5ea17f267895188b1b48ff9fe2bc19f17
Expand All @@ -12370,8 +12370,8 @@ trackedFiles:
pristine_git_object: 1c854370da050c261cb2cbcf9cc16829f5d8e78c
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f
pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82
last_write_checksum: sha1:8f1ca2be59f1c913c8b60bc931be12743f5456dc
pristine_git_object: 5401883ff0180af3a47608b1d8984f520e6d240d
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:e9e37efd6a65d805c02d70d548df9c87dd062b0e
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.17.20
version: 0.17.21
additionalDependencies:
dev: {}
main:
Expand Down
4 changes: 2 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: bb7907273db6459cbde6e66333718ee1de739c8e
x-open-api-commit-sha: dbfaeddbafcfcf34433a264950cfa8785098aa16
x-source-commit-sha: 77999be6fb7bac7ce1b740a5f554037282298b5d
x-open-api-commit-sha: ea654b06c64649ac0076b89cdcea6e0792daec11
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.
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.808.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:235e3d54216b951fb33149c6447411cd7c020dc183ff43f1976c85a65ceb1966
sourceBlobDigest: sha256:68a1d2a2167d136041d9e1e2367448aac20ae0d13edbada308fbf51fb09344ca
sourceRevisionDigest: sha256:509e25a8ae0bbaf6e23c95c58de651349216086a13278a3792b2e3f8be68fc6b
sourceBlobDigest: sha256:15ce4e757fd8eb3c2a3857cb15740c718b57c969342223ccc0de7437748a8609
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:235e3d54216b951fb33149c6447411cd7c020dc183ff43f1976c85a65ceb1966
sourceBlobDigest: sha256:68a1d2a2167d136041d9e1e2367448aac20ae0d13edbada308fbf51fb09344ca
sourceRevisionDigest: sha256:509e25a8ae0bbaf6e23c95c58de651349216086a13278a3792b2e3f8be68fc6b
sourceBlobDigest: sha256:15ce4e757fd8eb3c2a3857cb15740c718b57c969342223ccc0de7437748a8609
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:c21229f9597bec415f509e2e866b7e3767056756be9f1f28601b0390f98a6c94
codeSamplesRevisionDigest: sha256:5de9ed3291b25ba50b857aa18d4dca14272ee47e2ce880201d3f3def4d0c5b63
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1058,4 +1058,14 @@ Based on:
### Generated
- [python v0.17.20] .
### Releases
- [PyPI v0.17.20] https://pypi.org/project/glean-api-client/0.17.20 - .
- [PyPI v0.17.20] https://pypi.org/project/glean-api-client/0.17.20 - .

## 2026-11-12 06:03:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.808.1 (2.960.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.21] .
### Releases
- [PyPI v0.17.21] https://pypi.org/project/glean-api-client/0.17.21 - .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "glean-api-client"
version = "0.17.20"
version = "0.17.21"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/glean/api_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "glean-api-client"
__version__: str = "0.17.20"
__version__: str = "0.17.21"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.960.8"
__user_agent__: str = "speakeasy-sdk/python 0.17.20 2.960.8 0.9.0 glean-api-client"
__user_agent__: str = "speakeasy-sdk/python 0.17.21 2.960.8 0.9.0 glean-api-client"

try:
if __package__ is not None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_messages_messages():
res = glean.client.messages.retrieve(
id_type=models.IDType.CONVERSATION_ID,
id="<id>",
datasource=models.Datasource.SLACKENTGRID,
datasource=models.Datasource.FACEBOOKWORKPLACE,
timestamp_millis=558834,
)
assert res is not None
7 changes: 3 additions & 4 deletions tests/test_summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
"id": "<id>",
},
{
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
"ugc_type": models.DocumentSpecUgcType1.COLLECTIONS,
"content_id": 583083,
},
]
)
Expand Down
Loading