Skip to content
Open
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: 75dcb4ef654ae196b194eb433d5ff95e
docChecksum: f6adbcb04f34e17301484d106ed555f6
docVersion: 0.9.0
speakeasyVersion: 1.796.4
generationVersion: 2.935.1
releaseVersion: 0.17.13
configChecksum: d37a01084a303a979a07f43381a0ddd3
releaseVersion: 0.17.14
configChecksum: e7d16589fea449f13b5c916e3b7884a6
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: 3154d106-6806-4de0-b175-918a515cd721
pristine_commit_hash: 8d5d17c53fc3e4297a82d6af81ad4b6626cf22dd
pristine_tree_hash: cff8522ab0142eb0e9e66884c60dd8dce0a340df
generation_id: 61c4aa6e-0fec-4115-8a2c-0ab6bbe24e20
pristine_commit_hash: 35ca3f83fd5eced9c5376cf9fc347ba1239adf2d
pristine_tree_hash: c9eaccf416b66f38c2355eec672f7f50d747ab59
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -3834,8 +3834,8 @@ trackedFiles:
pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:eb7a93fd564e58d58885bbc5efbb39c22f2743b2
pristine_git_object: 3d7a9d9c2c6a91b82102ee963a3eab3c08dcf3dd
last_write_checksum: sha1:99d21663bbe69e903d52e6af936915a4e61eae46
pristine_git_object: 47df73c31b9b71aac2f687d754fff2e18d7312aa
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -3862,8 +3862,8 @@ trackedFiles:
pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:802f198e3bdd2c7f707fd3e2b14e080bb12d2d75
pristine_git_object: 74957f86e0974a86fcf55d934ea94cf222d3160e
last_write_checksum: sha1:9d6c0cf7ffe843d4d6c17b87fa9b027db15e92f9
pristine_git_object: c9e4eed4691470dad66e983d73485a08c2554708
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085
Expand Down Expand Up @@ -10966,8 +10966,8 @@ trackedFiles:
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
tests/test_messages.py:
id: be23089b1f8b
last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88
pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0
last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30
pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298
tests/test_people.py:
id: 37c243940039
last_write_checksum: sha1:2b78b1c5ea17f267895188b1b48ff9fe2bc19f17
Expand All @@ -10994,8 +10994,8 @@ trackedFiles:
pristine_git_object: 63587d5a9e7b7e506ce9daf00d51ce92afb56035
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:1fa40d6b0d438ba1eab1f497726f4290e131484d
pristine_git_object: 176748ca1a31da3ced2490494b227befe400ee32
last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f
pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82
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 @@ -34,7 +34,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.17.13
version: 0.17.14
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: 31a8965bc9e49871a44c872a19d7442c25790b41
x-open-api-commit-sha: 50797dafaa6c32f59f7dd18b9a5766b5321fffaa
x-source-commit-sha: 05cad2326eb7dbd7278880dc199834d4e8ee5a56
x-open-api-commit-sha: 9e897b79f24d6a14b6fb82fe809c07f60740afab
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.796.4
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:09eb059f0216714606cd4c098bf2c97994e46c67ba091ffd108681cf9ae831a5
sourceBlobDigest: sha256:a9418b93b4aaa7cd6d428375e23d233ffca2418e04be1fee988a029e3cb02931
sourceRevisionDigest: sha256:d30ac167a0788c3c0a538e00e226aaadb40081b43a6d4a52997dfe9765aec8d9
sourceBlobDigest: sha256:06275ac8a42c7d8fe2af6c1d358f25c6030de9a8c6fe0b7195df39abe716c61c
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:09eb059f0216714606cd4c098bf2c97994e46c67ba091ffd108681cf9ae831a5
sourceBlobDigest: sha256:a9418b93b4aaa7cd6d428375e23d233ffca2418e04be1fee988a029e3cb02931
sourceRevisionDigest: sha256:d30ac167a0788c3c0a538e00e226aaadb40081b43a6d4a52997dfe9765aec8d9
sourceBlobDigest: sha256:06275ac8a42c7d8fe2af6c1d358f25c6030de9a8c6fe0b7195df39abe716c61c
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:378452df2ea1abfd42848dbaaa791971fea47c98f7845e9b7f313f12da2109f6
codeSamplesRevisionDigest: sha256:8c5d1f764340dfe0cd7a19d9e86e6e208dedf4d1b65931beb46875c67043aa85
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 @@ -988,4 +988,14 @@ Based on:
### Generated
- [python v0.17.13] .
### Releases
- [PyPI v0.17.13] https://pypi.org/project/glean-api-client/0.17.13 - .
- [PyPI v0.17.13] https://pypi.org/project/glean-api-client/0.17.13 - .

## 2026-09-11 03:24:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.14] .
### Releases
- [PyPI v0.17.14] https://pypi.org/project/glean-api-client/0.17.14 - .
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.13"
version = "0.17.14"
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.13"
__version__: str = "0.17.14"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.935.1"
__user_agent__: str = "speakeasy-sdk/python 0.17.13 2.935.1 0.9.0 glean-api-client"
__user_agent__: str = "speakeasy-sdk/python 0.17.14 2.935.1 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.MICROSOFTTEAMS,
datasource=models.Datasource.SLACK,
timestamp_millis=558834,
)
assert res is not None
7 changes: 4 additions & 3 deletions tests/test_summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"id": "<id>",
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
},
{
"ugc_type": models.DocumentSpecUgcType1.ANSWERS,
"content_id": 141216,
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
},
]
)
Expand Down
Loading