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
36 changes: 18 additions & 18 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: c527c862fa483ecb898fd7e035f77cda
docChecksum: 417a8fed61884b3d6c8fe03e799c37d3
docVersion: 0.9.0
speakeasyVersion: 1.796.4
generationVersion: 2.935.1
releaseVersion: 0.17.10
configChecksum: 4b9657f9ec7d6ff02821c0f96977e1b1
releaseVersion: 0.17.11
configChecksum: 26c094980e77b3183df46347d4d85a10
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: b286c805-4eca-4f31-8d9c-d745850b1bc1
pristine_commit_hash: c1d6b26796e1905adca870bd73cb73c7823d2523
pristine_tree_hash: 7979e72764b3ebe63f7ca15ea0aadd2c24d791ba
generation_id: b69e3b16-5064-4a37-88c2-e57c3bd4a30a
pristine_commit_hash: f0245d2304fba5ec33955b68a126e8946bcaf51f
pristine_tree_hash: df4873c8703ca4ac339e5a6913e3ddee91024c05
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:6028e9526e25a03331d5b41813b85abf37371686
pristine_git_object: 3510591824cea756cde428299fcb694f6402c808
last_write_checksum: sha1:93eda4224928964a3424ed8c9a5e848b491f42d6
pristine_git_object: 288784f6c672d98580250213f759554e32570d57
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:73dbba5b517e8821251159970b0df53957175852
pristine_git_object: 9300ec129a343a0898f0ce92aac7aca05bfb186c
last_write_checksum: sha1:0362cad76a260d9f8252163926a9831487ae9124
pristine_git_object: e3b8c18c487f78336121254369d2caa283995c4e
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085
Expand Down Expand Up @@ -7450,8 +7450,8 @@ trackedFiles:
pristine_git_object: ab9263d43404e8e6f07af222a3e785aca2fbf35f
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
id: 3fb93a419933
last_write_checksum: sha1:7b2ffc9e36bbfc20c3bc1894f3727f96aa94ac74
pristine_git_object: 75fb8eb70f6913c8f83c2895f5542bee631ffdaf
last_write_checksum: sha1:09a57acc1d004a2fff76290b6c25e24471ad333e
pristine_git_object: 469bd6e6ee30bb11661f2a596a4504b75fa07da0
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
id: 8d9d3abb0c34
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
Expand Down Expand Up @@ -7522,8 +7522,8 @@ trackedFiles:
pristine_git_object: abb763ddc8504b28c0cb6fdf8d25237d46e21bab
tests/mockserver/internal/handler/pathpostrestapiv1getchat.go:
id: a0ec7bafa599
last_write_checksum: sha1:2267292ba8173cf8df70ddbc6ac02ff3439cb879
pristine_git_object: 8740195860b6c08e036caae19aab8e7374350960
last_write_checksum: sha1:b48e2313407814ee4f8ed181b8e5299a84960c44
pristine_git_object: 96d4127e0455272a9842e2d1954e5fcefa3278cc
tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go:
id: 7d101c69d4bc
last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0
Expand Down Expand Up @@ -10966,8 +10966,8 @@ trackedFiles:
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
tests/test_messages.py:
id: be23089b1f8b
last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617
pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a
last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88
pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0
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:6244d4da1522f443776e78aeb31dd83ebdc90c42
pristine_git_object: 2b5d1f38b094214933fc3b8da79ff8ed979c5122
last_write_checksum: sha1:4f50b660d414adea1d509dfc957eb74a12654ee4
pristine_git_object: 63b4eb8541c2b110dab6dda746fef9ac074611f1
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.10
version: 0.17.11
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: 18c1fb95817c54a18b1d105dbbab8dc9af3cf203
x-open-api-commit-sha: 6406463e03468e149f44ae0141fd377ba6e6b2a8
x-source-commit-sha: c7b8faeb148d368cb196525870fce7781c99cb17
x-open-api-commit-sha: 61445ec6fadf3e946ccb479688ddb310ca7e1118
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:337920f23331dccb17c7269db56fd852c9a71d0b8f3241a0eb7939a5b9456a6f
sourceBlobDigest: sha256:95fa8da94370a2218506c461d0ba8da16b6dfeed449ff6d68b1f05e209ee2847
sourceRevisionDigest: sha256:429d55e6c5e2f8bfec8241c30a7cf8aa683aa80722c2fa7430fbb0b1664c87b4
sourceBlobDigest: sha256:3626526a617e64454c0ce264cc81d3f90e6a5e7b4cb49ad109226c7252fa6b00
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:337920f23331dccb17c7269db56fd852c9a71d0b8f3241a0eb7939a5b9456a6f
sourceBlobDigest: sha256:95fa8da94370a2218506c461d0ba8da16b6dfeed449ff6d68b1f05e209ee2847
sourceRevisionDigest: sha256:429d55e6c5e2f8bfec8241c30a7cf8aa683aa80722c2fa7430fbb0b1664c87b4
sourceBlobDigest: sha256:3626526a617e64454c0ce264cc81d3f90e6a5e7b4cb49ad109226c7252fa6b00
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:ab7241c500f15d599e46453dc64438246c7c9ffec27b36b5714c75596bf0b640
codeSamplesRevisionDigest: sha256:87e0e16fb132a33fa83a050bcd0036f94d5ad22be05e9eec9a4d73b389ac8ebe
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 @@ -958,4 +958,14 @@ Based on:
### Generated
- [python v0.17.10] .
### Releases
- [PyPI v0.17.10] https://pypi.org/project/glean-api-client/0.17.10 - .
- [PyPI v0.17.10] https://pypi.org/project/glean-api-client/0.17.10 - .

## 2026-09-10 03:27:29
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.11] .
### Releases
- [PyPI v0.17.11] https://pypi.org/project/glean-api-client/0.17.11 - .
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.10"
version = "0.17.11"
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.10"
__version__: str = "0.17.11"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.935.1"
__user_agent__: str = "speakeasy-sdk/python 0.17.10 2.935.1 0.9.0 glean-api-client"
__user_agent__: str = "speakeasy-sdk/python 0.17.11 2.935.1 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.

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.FACEBOOKWORKPLACE,
datasource=models.Datasource.MICROSOFTTEAMS,
timestamp_millis=558834,
)
assert res is not None
5 changes: 2 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, models
from glean.api_client import Glean
import os
from tests.test_client import create_test_http_client

Expand All @@ -18,8 +18,7 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"ugc_type": models.DocumentSpecUgcType2.ARTIFACTS,
"ugc_id": "<id>",
"url": "https://dim-glider.com/",
},
{
"id": "<id>",
Expand Down
Loading