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
9 changes: 3 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 09ae73bbaebb3968dc7590f295580164
docChecksum: 044fcc6694ac3a5461d37039dd1ae397
docVersion: 0.9.0
speakeasyVersion: 1.650.0
generationVersion: 2.743.2
releaseVersion: 0.11.8
configChecksum: 822545fd662c7ee4c3cd04767a37a98a
releaseVersion: 0.11.10
configChecksum: 37e740dcdd01591ff225d259dc6ff5dd
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand Down Expand Up @@ -2742,6 +2742,3 @@ generatedTests:
editcollection: "2025-06-12T19:13:52-04:00"
createshortcut: "2025-06-12T19:13:52-04:00"
updateshortcut: "2025-06-12T19:13:52-04:00"
releaseNotes: |
## Python SDK Changes Detected:
* `glean.client.chat.retrieve_files()`: `request.chat_id` **Removed** **Breaking** :warning:
3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.8
version: 0.11.10
additionalDependencies:
dev: {}
main: {}
Expand Down Expand Up @@ -63,6 +63,7 @@ python:
webhooks: ""
inputModelSuffix: input
legacyPyright: true
license: ""
maxMethodParams: 999
methodArguments: infer-optional-args
moduleName: glean.api_client
Expand Down
1 change: 1 addition & 0 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 8f565e6072898e4f6fca86fa97978efc4ea33975
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
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
sourceRevisionDigest: sha256:689726080c55db3f7b53081650cbe149ee904c25ff811dea86255ebb4c9affae
sourceBlobDigest: sha256:63374cc02e60ae0943d2b9f58fc9013c5811d9759a03dc45398c457cf8b88921
tags:
- latest
- speakeasy-sdk-regen-1763081166
- speakeasy-sdk-regen-1763146006
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:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
sourceRevisionDigest: sha256:689726080c55db3f7b53081650cbe149ee904c25ff811dea86255ebb4c9affae
sourceBlobDigest: sha256:63374cc02e60ae0943d2b9f58fc9013c5811d9759a03dc45398c457cf8b88921
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:90843eca9fa9c37835f6112e07ce874530d24ae6fae39dc90721d789ca30ba08
codeSamplesRevisionDigest: sha256:a77ddccee3b18c2b4fbb83554bae7a9f53fc641db862b4a4f5e5ef9006f749b3
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 @@ -378,4 +378,14 @@ Based on:
### Generated
- [python v0.11.8] .
### Releases
- [PyPI v0.11.8] https://pypi.org/project/glean/0.11.8 - .
- [PyPI v0.11.8] https://pypi.org/project/glean/0.11.8 - .

## 2025-11-14 20:55:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.10] .
### Releases
- [PyPI v0.11.10] https://pypi.org/project/glean/0.11.10 - .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "glean-api-client"
version = "0.11.8"
version = "0.11.10"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
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"
__version__: str = "0.11.8"
__version__: str = "0.11.10"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.743.2"
__user_agent__: str = "speakeasy-sdk/python 0.11.8 2.743.2 0.9.0 glean"
__user_agent__: str = "speakeasy-sdk/python 0.11.10 2.743.2 0.9.0 glean"

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.

8 changes: 3 additions & 5 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,12 +18,10 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
"url": "https://dim-glider.com/",
},
{
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
"content_id": 602763,
"id": "<id>",
},
]
)
Expand Down
Loading