Skip to content

Commit 304de12

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.676.1
1 parent 36dc640 commit 304de12

File tree

9 files changed

+50
-44
lines changed

9 files changed

+50
-44
lines changed

.speakeasy/gen.lock

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 155a8a099a04ddbed1268d2c31ba186a
4+
docChecksum: 79efbfb7cb62d43b91fb1bb06b6a3fc4
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.675.4
7-
generationVersion: 2.779.2
8-
releaseVersion: 0.11.25
9-
configChecksum: eeecb9b00ada03322b4c87d8ec90db91
6+
speakeasyVersion: 1.676.1
7+
generationVersion: 2.781.2
8+
releaseVersion: 0.11.26
9+
configChecksum: 0c1c9816fddc50402b01c1776fed290b
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: ae27c813-e27b-49f4-8b29-b8ea002c14e7
15-
pristine_commit_hash: dfb743e628fdc9144777502e9abdbc9ef378ce15
16-
pristine_tree_hash: eb9728fe81c4c32440414597ccce323de02cf3aa
14+
generation_id: 177a3d5f-3d6b-4835-8683-5c3406d4d983
15+
pristine_commit_hash: 4c14e3d7aef4677030cc1de8692625c0c79a4146
16+
pristine_tree_hash: 87bb670590342e5354be87c0bc15e155701f0429
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
2020
additionalProperties: 1.0.1
2121
configurableModuleName: 0.2.0
2222
constsAndDefaults: 1.0.5
23-
core: 5.23.13
23+
core: 5.23.14
2424
defaultEnabledRetries: 0.2.0
2525
deprecations: 3.0.2
2626
devContainers: 3.0.0
@@ -2611,8 +2611,8 @@ trackedFiles:
26112611
pristine_git_object: 8e34b78a71b8bb97bad6dea99d0f791beb134e5b
26122612
pyproject.toml:
26132613
id: 5d07e7d72637
2614-
last_write_checksum: sha1:5e9a1c86cdbf59f5853a8ff79c448cab1b21a33c
2615-
pristine_git_object: 74e7a505ae169183c934b33ef1e3550bbd93a903
2614+
last_write_checksum: sha1:233ebc1d99b9615e686ac8a7ee87edc4c55d5e56
2615+
pristine_git_object: 4d89b75dcebf511db639dab0144a4889f32bbf75
26162616
scripts/prepare_readme.py:
26172617
id: e0c5957a6035
26182618
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
@@ -2639,8 +2639,8 @@ trackedFiles:
26392639
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
26402640
src/glean/api_client/_version.py:
26412641
id: 0ce22b26136b
2642-
last_write_checksum: sha1:30abb718971de47ac189a7bd4cb7e7aad5c010ce
2643-
pristine_git_object: 54635c2e1ffa97430bf82ab8d4db3a8e77e1512d
2642+
last_write_checksum: sha1:21a06003e3dbf5d4ac875fe1c868d29f0e095cc4
2643+
pristine_git_object: 3e55eea64554e4f148a5518a3d42cd537c56fb99
26442644
src/glean/api_client/agents.py:
26452645
id: b925701a9217
26462646
last_write_checksum: sha1:56f1329fbf799ea92ed30229d4ed2404666d455d
@@ -6231,8 +6231,8 @@ trackedFiles:
62316231
pristine_git_object: 301907d8b173301d252e800b1e16f9978108a5ef
62326232
tests/test_messages.py:
62336233
id: be23089b1f8b
6234-
last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88
6235-
pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0
6234+
last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30
6235+
pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298
62366236
tests/test_people.py:
62376237
id: 37c243940039
62386238
last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
@@ -6255,8 +6255,8 @@ trackedFiles:
62556255
pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99
62566256
tests/test_summarize.py:
62576257
id: a255d8a6f627
6258-
last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f
6259-
pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82
6258+
last_write_checksum: sha1:c8d8833da5c86809578a1b1eafc39ad64adc93ad
6259+
pristine_git_object: 2fea36cd3c6e30f936339e22b25ab6efadd0fe80
62606260
tests/test_tools.py:
62616261
id: 70889bdf7321
62626262
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
@@ -7144,10 +7144,6 @@ generatedTests:
71447144
updateshortcut: "2025-06-12T19:13:52-04:00"
71457145
listfindingsexports: "2025-12-10T17:53:31Z"
71467146
downloadfindingsexport: "2025-12-10T17:53:31Z"
7147-
releaseNotes: |
7148-
## Python SDK Changes:
7149-
* `glean.governance.createfindingsexport()`: `response.export_size` **Added**
7150-
* `glean.governance.listfindingsexports()`: `response.exports.[].export_size` **Added**
71517147
generatedFiles:
71527148
- .devcontainer/README.md
71537149
- .devcontainer/devcontainer.json

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ generation:
3131
generateNewTests: true
3232
skipResponseBodyAssertions: true
3333
python:
34-
version: 0.11.25
34+
version: 0.11.26
3535
additionalDependencies:
3636
dev: {}
3737
main: {}
@@ -44,6 +44,7 @@ python:
4444
- Glean Technologies, Inc.
4545
baseErrorName: GleanBaseError
4646
clientServerStatusCodesAsErrors: true
47+
constFieldCasing: upper
4748
defaultErrorName: GleanError
4849
description: Python Client SDK Generated by Speakeasy.
4950
enableCustomCodeRegions: false

.speakeasy/glean-merged-spec.yaml

Lines changed: 5 additions & 5 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: 6c18cdaa8da169e191cc66885c326e2ea6d13644
5+
x-source-commit-sha: 769a3e49b4897e1b7438a73a1b5bef0220827acb
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: c7a6190b989a16d24b879348f08e27efcb304566
25+
x-open-api-commit-sha: 4006b190963732c924aac50ba958b0cbe6e435e0
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -7617,6 +7617,9 @@ components:
76177617
chatId:
76187618
type: string
76197619
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7620+
agentConfig:
7621+
$ref: "#/components/schemas/AgentConfig"
7622+
description: Describes the agent that will execute the request.
76207623
ChatRestrictionFilters:
76217624
allOf:
76227625
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7635,9 +7638,6 @@ components:
76357638
- $ref: "#/components/schemas/ChatRequestBase"
76367639
- type: object
76377640
properties:
7638-
agentConfig:
7639-
$ref: "#/components/schemas/AgentConfig"
7640-
description: Describes the agent that will execute the request.
76417641
inclusions:
76427642
$ref: "#/components/schemas/ChatRestrictionFilters"
76437643
description: A list of filters which only allows chat to access certain content.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.675.4
1+
speakeasyVersion: 1.676.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
6-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
5+
sourceRevisionDigest: sha256:e2189371c35aad7f781b155e1fbf257e203be077da809c9a3cf86665e3696b06
6+
sourceBlobDigest: sha256:76fee003375fb6a73b0ec4fc58d5edfd389c1203e2c8d8b98370e69f20d6d47d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1765503976
9+
- speakeasy-sdk-regen-1765586442
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
21-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
20+
sourceRevisionDigest: sha256:e2189371c35aad7f781b155e1fbf257e203be077da809c9a3cf86665e3696b06
21+
sourceBlobDigest: sha256:76fee003375fb6a73b0ec4fc58d5edfd389c1203e2c8d8b98370e69f20d6d47d
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:f411ba167f9247fde5f4d1684411db4c43e5c04dcdcf5a631b904551a5fed7b1
23+
codeSamplesRevisionDigest: sha256:049c58bf36e9a996c088dc9107438febd3a0b7fe2d6dcb5bd9c3efa7402d4aad
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,4 +478,14 @@ Based on:
478478
### Generated
479479
- [python v0.11.25] .
480480
### Releases
481-
- [PyPI v0.11.25] https://pypi.org/project/glean-api-client/0.11.25 - .
481+
- [PyPI v0.11.25] https://pypi.org/project/glean-api-client/0.11.25 - .
482+
483+
## 2025-12-13 00:40:17
484+
### Changes
485+
Based on:
486+
- OpenAPI Doc
487+
- Speakeasy CLI 1.676.1 (2.781.2) https://github.com/speakeasy-api/speakeasy
488+
### Generated
489+
- [python v0.11.26] .
490+
### Releases
491+
- [PyPI v0.11.26] https://pypi.org/project/glean-api-client/0.11.26 - .

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.11.25"
4+
version = "0.11.26"
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: 3 additions & 3 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.11.25"
6+
__version__: str = "0.11.26"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.779.2"
9-
__user_agent__: str = "speakeasy-sdk/python 0.11.25 2.779.2 0.9.0 glean-api-client"
8+
__gen_version__: str = "2.781.2"
9+
__user_agent__: str = "speakeasy-sdk/python 0.11.26 2.781.2 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.MICROSOFTTEAMS,
21+
datasource=models.Datasource.SLACK,
2222
timestamp_millis=558834,
2323
)
2424
assert res is not None

tests/test_summarize.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ def test_summarize_summarize():
1818
res = glean.client.documents.summarize(
1919
document_specs=[
2020
{
21-
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
22-
"content_id": 602763,
21+
"url": "https://hungry-coast.biz/",
2322
},
2423
{
25-
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
26-
"content_id": 602763,
24+
"ugc_type": models.DocumentSpecUgcType2.CHATS,
25+
"ugc_id": "<id>",
2726
},
2827
]
2928
)

0 commit comments

Comments
 (0)