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
41 changes: 21 additions & 20 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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.1
version: 0.17.2
additionalDependencies:
dev: {}
main: {}
Expand Down
5 changes: 3 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: 6c454c6b185ebe58e74e781a36041222f47897e0
x-open-api-commit-sha: 0df5939226dc378b392825655b036df1e08909a7
x-source-commit-sha: 3e6bf297e8208a1324189f812c53bc04766b0213
x-open-api-commit-sha: 2419017440d6eea54a5cbdadbf6e265ebc3f3cb5
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 Expand Up @@ -10960,6 +10960,7 @@ components:
- PINS_TYPE
- SCRIBES_TYPE
- SHORTCUTS_TYPE
- SKILLS_TYPE
- SLIDE_TYPE
- SPREADSHEET_TYPE
- INLINE_HTML_TYPE
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.3
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
sourceRevisionDigest: sha256:0e14ee68a5a49a4890c842cfcded22f82b40f1afa4ae61f5c5accae7bdb50177
sourceBlobDigest: sha256:b357f61fbd8cbd644c4e2a50c5a7860c6e80b4bf4fa5d7cd1b4937ad66a4a3d0
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
sourceRevisionDigest: sha256:0e14ee68a5a49a4890c842cfcded22f82b40f1afa4ae61f5c5accae7bdb50177
sourceBlobDigest: sha256:b357f61fbd8cbd644c4e2a50c5a7860c6e80b4bf4fa5d7cd1b4937ad66a4a3d0
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:c6b6b63f8baba5135c3cb416427836a357e7a8506460c0c310e8fd0fe3c39f48
codeSamplesRevisionDigest: sha256:f4b187b59903cead926bcdd427a66fd4cb24eea503898f5ec7b09808b966da3d
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 @@ -868,4 +868,14 @@ Based on:
### Generated
- [python v0.17.1] .
### Releases
- [PyPI v0.17.1] https://pypi.org/project/glean-api-client/0.17.1 - .
- [PyPI v0.17.1] https://pypi.org/project/glean-api-client/0.17.1 - .

## 2026-09-03 03:19:18
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.3 (2.934.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.2] .
### Releases
- [PyPI v0.17.2] https://pypi.org/project/glean-api-client/0.17.2 - .
1 change: 1 addition & 0 deletions docs/models/ugctype.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ value = UgcType.AGENT_TYPE
| `PINS_TYPE` | PINS_TYPE |
| `SCRIBES_TYPE` | SCRIBES_TYPE |
| `SHORTCUTS_TYPE` | SHORTCUTS_TYPE |
| `SKILLS_TYPE` | SKILLS_TYPE |
| `SLIDE_TYPE` | SLIDE_TYPE |
| `SPREADSHEET_TYPE` | SPREADSHEET_TYPE |
| `INLINE_HTML_TYPE` | INLINE_HTML_TYPE |
Expand Down
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.1"
version = "0.17.2"
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.1"
__version__: str = "0.17.2"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.934.1"
__user_agent__: str = "speakeasy-sdk/python 0.17.1 2.934.1 0.9.0 glean-api-client"
__user_agent__: str = "speakeasy-sdk/python 0.17.2 2.934.1 0.9.0 glean-api-client"

try:
if __package__ is not None:
Expand Down
1 change: 1 addition & 0 deletions src/glean/api_client/models/ugctype.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class UgcType(str, Enum, metaclass=utils.OpenEnumMeta):
PINS_TYPE = "PINS_TYPE"
SCRIBES_TYPE = "SCRIBES_TYPE"
SHORTCUTS_TYPE = "SHORTCUTS_TYPE"
SKILLS_TYPE = "SKILLS_TYPE"
SLIDE_TYPE = "SLIDE_TYPE"
SPREADSHEET_TYPE = "SPREADSHEET_TYPE"
INLINE_HTML_TYPE = "INLINE_HTML_TYPE"
Expand Down
3 changes: 3 additions & 0 deletions tests/mockserver/internal/sdk/models/components/ugctype.go

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.GCHAT,
datasource=models.Datasource.SLACK,
timestamp_millis=558834,
)
assert res is not None
5 changes: 3 additions & 2 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,7 +18,8 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"id": "<id>",
"ugc_type": models.DocumentSpecUgcType2.ARTIFACTS,
"ugc_id": "<id>",
},
{
"id": "<id>",
Expand Down
Loading