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
34 changes: 17 additions & 17 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: 91d38b9d4b28ef9b1b98e10a0b5a7371
docChecksum: 2c597a08c15e80bf8e4e12e8bbc555d1
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: 1f9a8b21-e723-4e74-b90e-fb81b8972c07
pristine_commit_hash: 04205e8613527942ef73f87e1cb6e406d201a7e0
pristine_tree_hash: 99b0f2a811e1e18d708be30f353b3a43d2976a39
features:
python:
additionalDependencies: 1.0.0
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -4916,7 +4916,7 @@ trackedFiles:
tests/mockserver/internal/handler/pathpostrestapiv1getanswer.go:
last_write_checksum: sha1:3bec6f7cd190f9394bebac2407f9d7f1e606e479
tests/mockserver/internal/handler/pathpostrestapiv1getchat.go:
last_write_checksum: sha1:089475adb3686c656bd0eb52940285a7e037ab83
last_write_checksum: sha1:2c2b7acb22e422a721a21801cccfa30fedfd3169
tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go:
last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0
tests/mockserver/internal/handler/pathpostrestapiv1getchatfiles.go:
Expand Down Expand Up @@ -6225,8 +6225,8 @@ trackedFiles:
pristine_git_object: 301907d8b173301d252e800b1e16f9978108a5ef
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:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
Expand All @@ -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:c8d8833da5c86809578a1b1eafc39ad64adc93ad
pristine_git_object: 2fea36cd3c6e30f936339e22b25ab6efadd0fe80
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.27
version: 0.11.28
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,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.
Expand All @@ -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: b2ede6b7b8e36deffc7b6b8c62c17891cd090c3a
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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:97e7203eb2a1e41953f0726e18faf81f0fc761f19e78401bc49e0a7e17edff9e
sourceBlobDigest: sha256:3d40c893c9065844b96cabf920b118a5f132abdd9ea3bf11d03a22ce90ccbd60
tags:
- latest
- speakeasy-sdk-regen-1768441819
- speakeasy-sdk-regen-1768614376
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc
sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37
sourceRevisionDigest: sha256:97e7203eb2a1e41953f0726e18faf81f0fc761f19e78401bc49e0a7e17edff9e
sourceBlobDigest: sha256:3d40c893c9065844b96cabf920b118a5f132abdd9ea3bf11d03a22ce90ccbd60
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:77edd92d12a6f8e9e87bc2578f8369e25dba1060192ba455304996c267701c6a
codeSamplesRevisionDigest: sha256:33309b0a12ef7143fac9644b24cb1001e4e1d67ee1c7f428133866823345f5cc
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 @@ -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 - .
- [PyPI v0.11.27] https://pypi.org/project/glean-api-client/0.11.27 - .

## 2026-01-18 01:57:54
### 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 - .
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.11.27"
version = "0.11.28"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." },]
readme = "README-PYPI.md"
Expand Down
6 changes: 3 additions & 3 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.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:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
@@ -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

Expand All @@ -18,10 +18,11 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"url": "https://dim-glider.com/",
"url": "https://hungry-coast.biz/",
},
{
"id": "<id>",
"ugc_type": models.DocumentSpecUgcType2.CHATS,
"ugc_id": "<id>",
},
]
)
Expand Down