Skip to content

Commit a5eeede

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

File tree

8 files changed

+47
-42
lines changed

8 files changed

+47
-42
lines changed

.speakeasy/gen.lock

Lines changed: 15 additions & 19 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: 7960c821d93d5d1fd4989f8e9465b40e
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: 796c0620-ba23-463b-9f85-0ec377f5a96e
15+
pristine_commit_hash: e2aeda52f3f9f14abb0713c0843afdd21531af9f
16+
pristine_tree_hash: c50ec4487f78034a3fcd4a81d80eab3595f92787
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
@@ -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:4f50b660d414adea1d509dfc957eb74a12654ee4
6259+
pristine_git_object: 63b4eb8541c2b110dab6dda746fef9ac074611f1
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: 446263d59a66a73bb48c3424250c1d2fba769bca
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: c19d694438d662f133eda499d71cd57d48894d2d
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:7eb78ec6abba7a145cd701e23700cc98f4edebe03d6856646a8fb9fbb81ba68e
6+
sourceBlobDigest: sha256:a8b24cac786237a17141c5b5253f87d6a2defa0f99ad35492a27a3badfd67c88
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:7eb78ec6abba7a145cd701e23700cc98f4edebe03d6856646a8fb9fbb81ba68e
21+
sourceBlobDigest: sha256:a8b24cac786237a17141c5b5253f87d6a2defa0f99ad35492a27a3badfd67c88
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-14 01:52:04
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_summarize.py

Lines changed: 3 additions & 5 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, models
3+
from glean.api_client import Glean
44
import os
55
from tests.test_client import create_test_http_client
66

@@ -18,12 +18,10 @@ 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://dim-glider.com/",
2322
},
2423
{
25-
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
26-
"content_id": 602763,
24+
"id": "<id>",
2725
},
2826
]
2927
)

0 commit comments

Comments
 (0)