Skip to content

Commit 77f6fd3

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.1
1 parent 5eddb17 commit 77f6fd3

9 files changed

Lines changed: 42 additions & 34 deletions

File tree

.speakeasy/gen.lock

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 342db3c3e961e5c5bd4d74702a75f99d
4+
docChecksum: fe65f2c89fd3fcacc42a37dc8b49cf16
55
docVersion: 0.9.0
66
speakeasyVersion: 1.761.1
77
generationVersion: 2.879.6
8-
releaseVersion: 0.12.20
9-
configChecksum: 118c8b5d37717e432d05b23672b24c21
8+
releaseVersion: 0.12.21
9+
configChecksum: 20ebb8ffe32a0f4d771511e5395aafc8
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
1313
persistentEdits:
14-
generation_id: c252eb6e-6ce5-4eba-9dca-21d3c3db7a16
15-
pristine_commit_hash: 1591a9ac40fc7b3e4fca24297e6846d1b9bbc01c
16-
pristine_tree_hash: 8f15c3bdeb9247be31ce867946d42a3770f3ffc1
14+
generation_id: ad821150-a35f-435b-85ad-14e8a57bb30c
15+
pristine_commit_hash: f6fcfcee9ce914c07964aeab77112b8ba860df33
16+
pristine_tree_hash: 853e54f4444922a32b876e6ad384e9e1e909e6db
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
@@ -2775,8 +2775,8 @@ trackedFiles:
27752775
pristine_git_object: e2fda7fe263c2a111e53872e3ad5bc324b4dccfe
27762776
pyproject.toml:
27772777
id: 5d07e7d72637
2778-
last_write_checksum: sha1:c951a37ac61b64abea95db042bf2af7726bbe02b
2779-
pristine_git_object: dcdf40b65963a18a502e45c39a0c29f6cdbe3a10
2778+
last_write_checksum: sha1:65e0f2d22f0fc121be7ef0c65018a5d97077de6e
2779+
pristine_git_object: b482729a93c5c3738efa4e3b29751599f6aa54e0
27802780
scripts/prepare_readme.py:
27812781
id: e0c5957a6035
27822782
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
@@ -2803,8 +2803,8 @@ trackedFiles:
28032803
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
28042804
src/glean/api_client/_version.py:
28052805
id: 0ce22b26136b
2806-
last_write_checksum: sha1:c2aed2497aa6263744e15e15dd70b19c04bbab47
2807-
pristine_git_object: fe96c87c29efe2f67d0da2142bf872b686d989b4
2806+
last_write_checksum: sha1:1421c327085869a0c4b47aa3d587023509528346
2807+
pristine_git_object: aea3106fcb1d8e92c20a3beb4075eb6dbafb86f8
28082808
src/glean/api_client/agents.py:
28092809
id: b925701a9217
28102810
last_write_checksum: sha1:ee99ae3d58f7f77ac2eba99c104d04d53c16c09c
@@ -6577,8 +6577,8 @@ trackedFiles:
65776577
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
65786578
tests/test_messages.py:
65796579
id: be23089b1f8b
6580-
last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30
6581-
pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298
6580+
last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617
6581+
pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a
65826582
tests/test_people.py:
65836583
id: 37c243940039
65846584
last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
@@ -6601,8 +6601,8 @@ trackedFiles:
66016601
pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99
66026602
tests/test_summarize.py:
66036603
id: a255d8a6f627
6604-
last_write_checksum: sha1:0a66e5784eb0a938b4399c0829e4fd716735482b
6605-
pristine_git_object: ef4774cfa7c7777478cd7081760ef38fbb9a0f32
6604+
last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f
6605+
pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82
66066606
tests/test_tools.py:
66076607
id: 70889bdf7321
66086608
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
@@ -7530,10 +7530,6 @@ generatedTests:
75307530
checkdatasourceauth: "2026-02-19T15:48:52Z"
75317531
getDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
75327532
updateDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
7533-
releaseNotes: |
7534-
## Python SDK Changes:
7535-
* `glean.client.insights.retrieve()`: `response.agents_response` **Changed**
7536-
* `glean.client.search.retrieve_feed()`: `response.results[].primary_entry.prompt_template.favorite_info.ugc_type.enum(spreadsheet_type)` **Added**
75377533
generatedFiles:
75387534
- .devcontainer/README.md
75397535
- .devcontainer/devcontainer.json

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.12.20
37+
version: 0.12.21
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 3301b0cde4a4bf6d9bb67d909bfbfc2d97c47ad8
5+
x-source-commit-sha: d99879d02db995486773473096bf8912331a187c
66
description: |
77
# Introduction
88
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.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: f13962c9263237558900c5da6ccfa48ea4edb68c
25+
x-open-api-commit-sha: 1220224c306c0273f572f73737f832c622ddd85b
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.761.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:08d4d58caccd1bef6ef8e22dfcf97a354aded9212e6fea82f0aa6557c2ac60b7
6-
sourceBlobDigest: sha256:6937879dbbc72083c2849b612846828aafdd666c568135d879d9a9f3b6ede95e
5+
sourceRevisionDigest: sha256:e000609954d4ea415f4f0f49d7fdc32bed2bce32d3121b9aa73c5c094485d012
6+
sourceBlobDigest: sha256:7151e0f055594b0d6191ba53180194b6b3f05aa87bc7714dda5b7ef654f2bfa0
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:08d4d58caccd1bef6ef8e22dfcf97a354aded9212e6fea82f0aa6557c2ac60b7
20-
sourceBlobDigest: sha256:6937879dbbc72083c2849b612846828aafdd666c568135d879d9a9f3b6ede95e
19+
sourceRevisionDigest: sha256:e000609954d4ea415f4f0f49d7fdc32bed2bce32d3121b9aa73c5c094485d012
20+
sourceBlobDigest: sha256:7151e0f055594b0d6191ba53180194b6b3f05aa87bc7714dda5b7ef654f2bfa0
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:236be967997805680d4e427baaf01aeddfc19c362e810b0602bd8c148d0b703b
22+
codeSamplesRevisionDigest: sha256:a88babde35272bb8f62fe6b45bde03c7a407f5a14b40f1302b05749f9f4ec1d3
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,14 @@ Based on:
708708
### Generated
709709
- [python v0.12.20] .
710710
### Releases
711-
- [PyPI v0.12.20] https://pypi.org/project/glean-api-client/0.12.20 - .
711+
- [PyPI v0.12.20] https://pypi.org/project/glean-api-client/0.12.20 - .
712+
713+
## 2026-04-10 02:39:26
714+
### Changes
715+
Based on:
716+
- OpenAPI Doc
717+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
718+
### Generated
719+
- [python v0.12.21] .
720+
### Releases
721+
- [PyPI v0.12.21] https://pypi.org/project/glean-api-client/0.12.21 - .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "glean-api-client"
4-
version = "0.12.20"
4+
version = "0.12.21"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Glean Technologies, Inc." },]
77
readme = "README-PYPI.md"

src/glean/api_client/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "glean-api-client"
6-
__version__: str = "0.12.20"
6+
__version__: str = "0.12.21"
77
__openapi_doc_version__: str = "0.9.0"
88
__gen_version__: str = "2.879.6"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.20 2.879.6 0.9.0 glean-api-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.21 2.879.6 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

tests/test_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_messages_messages():
1818
res = glean.client.messages.retrieve(
1919
id_type=models.IDType.CONVERSATION_ID,
2020
id="<id>",
21-
datasource=models.Datasource.SLACK,
21+
datasource=models.Datasource.FACEBOOKWORKPLACE,
2222
timestamp_millis=558834,
2323
)
2424
assert res is not None

tests/test_summarize.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

3-
from glean.api_client import Glean
3+
from glean.api_client import Glean, models
44
import os
55
from tests.test_client import create_test_http_client
66

@@ -18,10 +18,12 @@ def test_summarize_summarize():
1818
res = glean.client.documents.summarize(
1919
document_specs=[
2020
{
21-
"url": "https://nervous-stall.info",
21+
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
22+
"content_id": 602763,
2223
},
2324
{
24-
"id": "<id>",
25+
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
26+
"content_id": 602763,
2527
},
2628
]
2729
)

0 commit comments

Comments
 (0)