Skip to content

Commit 9f8f24e

Browse files
committed
## Python SDK Changes:
* `glean.client.insights.retrieve()`: `response.overview_response` **Changed**
1 parent 36dc640 commit 9f8f24e

File tree

11 files changed

+259
-49
lines changed

11 files changed

+259
-49
lines changed

.speakeasy/gen.lock

Lines changed: 21 additions & 22 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: 268b626cbe9212377440bf86b5856959
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: 2fcf4b4a-a8ba-4d77-98e3-f7a6c6450aa0
15+
pristine_commit_hash: daaac33f828c4074fce2c8be0ebf299533889585
16+
pristine_tree_hash: b93becfd44345bf066b55ccc7a320d9fced4f2f2
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
@@ -1519,8 +1519,8 @@ trackedFiles:
15191519
pristine_git_object: 90e12f31c489fd3953b486a9ba20043f50362bc5
15201520
docs/models/insightsoverviewresponse.md:
15211521
id: c980a8e3a69e
1522-
last_write_checksum: sha1:04df4423d819bec8a572f5b35164ecded1f3f1b5
1523-
pristine_git_object: 6cd38a87732d77c1897c7506f30cf1b3642bfb70
1522+
last_write_checksum: sha1:a897dd65b610928d7980734f630b0e1f8bd3b400
1523+
pristine_git_object: 76c9c9a8334d732dd6fb8e01a5aeeeb448b93547
15241524
docs/models/insightsrequest.md:
15251525
id: 13eaa34edff4
15261526
last_write_checksum: sha1:3c7a299a7dc4c0e615ce11aaa18d6a3318330ab7
@@ -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
@@ -3931,8 +3931,8 @@ trackedFiles:
39313931
pristine_git_object: 1c6f8a400a6e5374f693a3d03fe4cd9e0014e514
39323932
src/glean/api_client/models/insightsoverviewresponse.py:
39333933
id: 9f278319d18c
3934-
last_write_checksum: sha1:5e1c82a150a7bb7c9ff7a280c25bebaf3d890a96
3935-
pristine_git_object: 32b4ca5c917ebb888ebed9f65794d5b87741e6c3
3934+
last_write_checksum: sha1:020d966768b22c7254ba1fb4673a8ed4bd9efc74
3935+
pristine_git_object: ba7b19e9dd1754ee6fe914539b06fd1ca445fe81
39363936
src/glean/api_client/models/insightsrequest.py:
39373937
id: 72fbc9d1c47b
39383938
last_write_checksum: sha1:87d348f9999fff8d203241caf3f90151f5901122
@@ -5530,7 +5530,7 @@ trackedFiles:
55305530
tests/mockserver/internal/sdk/models/components/insightsoverviewrequest.go:
55315531
last_write_checksum: sha1:f41a223c0da4e4edee140cdd8a7697a45969a239
55325532
tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go:
5533-
last_write_checksum: sha1:70827886af51f8dac41dff93943dff3b08c8fee4
5533+
last_write_checksum: sha1:6b78d9baa749aa3e03c2e20964a9a5ddcaab97ad
55345534
tests/mockserver/internal/sdk/models/components/insightsrequest.go:
55355535
last_write_checksum: sha1:eb012d78051f22fd42f8b58a31f1de61b6ee970a
55365536
tests/mockserver/internal/sdk/models/components/insightsresponse.go:
@@ -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
@@ -7146,8 +7146,7 @@ generatedTests:
71467146
downloadfindingsexport: "2025-12-10T17:53:31Z"
71477147
releaseNotes: |
71487148
## Python SDK Changes:
7149-
* `glean.governance.createfindingsexport()`: `response.export_size` **Added**
7150-
* `glean.governance.listfindingsexports()`: `response.exports.[].export_size` **Added**
7149+
* `glean.client.insights.retrieve()`: `response.overview_response` **Changed**
71517150
generatedFiles:
71527151
- .devcontainer/README.md
71537152
- .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: 29 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: 6c9a08e40e3a14e89ef3b695260a5919140f29ee
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: f7c9aef10205b9387545e3d26a937e140aaefff6
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.
@@ -8718,6 +8718,30 @@ components:
87188718
$ref: "#/components/schemas/LabeledCountInfo"
87198719
dailyActiveUserTimeseries:
87208720
$ref: "#/components/schemas/LabeledCountInfo"
8721+
searchMonthlyActiveUserTimeseries:
8722+
$ref: "#/components/schemas/LabeledCountInfo"
8723+
searchWeeklyActiveUserTimeseries:
8724+
$ref: "#/components/schemas/LabeledCountInfo"
8725+
searchDailyActiveUserTimeseries:
8726+
$ref: "#/components/schemas/LabeledCountInfo"
8727+
assistantMonthlyActiveUserTimeseries:
8728+
$ref: "#/components/schemas/LabeledCountInfo"
8729+
assistantWeeklyActiveUserTimeseries:
8730+
$ref: "#/components/schemas/LabeledCountInfo"
8731+
assistantDailyActiveUserTimeseries:
8732+
$ref: "#/components/schemas/LabeledCountInfo"
8733+
agentsMonthlyActiveUserTimeseries:
8734+
$ref: "#/components/schemas/LabeledCountInfo"
8735+
agentsWeeklyActiveUserTimeseries:
8736+
$ref: "#/components/schemas/LabeledCountInfo"
8737+
agentsDailyActiveUserTimeseries:
8738+
$ref: "#/components/schemas/LabeledCountInfo"
8739+
searchesTimeseries:
8740+
$ref: "#/components/schemas/LabeledCountInfo"
8741+
assistantInteractionsTimeseries:
8742+
$ref: "#/components/schemas/LabeledCountInfo"
8743+
agentRunsTimeseries:
8744+
$ref: "#/components/schemas/LabeledCountInfo"
87218745
searchDatasourceCounts:
87228746
type: object
87238747
additionalProperties:

.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:cdeb55a46de9d58d403da69e1d58f345dbf4e03242c30fd7209f637305657e5b
6+
sourceBlobDigest: sha256:6efb0430a75a05e6a8136b050a6e70c95c5a063ed46a0643f347ba3f99999733
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:cdeb55a46de9d58d403da69e1d58f345dbf4e03242c30fd7209f637305657e5b
21+
sourceBlobDigest: sha256:6efb0430a75a05e6a8136b050a6e70c95c5a063ed46a0643f347ba3f99999733
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-15 01:49:46
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 - .

0 commit comments

Comments
 (0)