Skip to content

Commit 778cac3

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.insights.retrieve()`: `response.agents_response.top_agents_insights.[].is_deleted` **Added**
1 parent 4a40e4f commit 778cac3

File tree

13 files changed

+59
-29
lines changed

13 files changed

+59
-29
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 648d674fdd05aad794f8dd9965d820b5
4+
docChecksum: 2bfc8cabde6278fafe9fae13e583431e
55
docVersion: 0.9.0
66
speakeasyVersion: 1.650.0
77
generationVersion: 2.743.2
8-
releaseVersion: 0.11.14
9-
configChecksum: ceccdd78049847212e98f17e1f761752
8+
releaseVersion: 0.11.16
9+
configChecksum: 8f3025db067290e02de69c0e74482958
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
@@ -2742,3 +2742,6 @@ generatedTests:
27422742
editcollection: "2025-06-12T19:13:52-04:00"
27432743
createshortcut: "2025-06-12T19:13:52-04:00"
27442744
updateshortcut: "2025-06-12T19:13:52-04:00"
2745+
releaseNotes: |
2746+
## Python SDK Changes Detected:
2747+
* `glean.client.insights.retrieve()`: `response.agents_response.top_agents_insights.[].is_deleted` **Added**

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: true
3131
skipResponseBodyAssertions: true
3232
python:
33-
version: 0.11.14
33+
version: 0.11.16
3434
additionalDependencies:
3535
dev: {}
3636
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 5 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: 3c1d4f5f7b2de021e7e5ab5dff962254c16aa5db
5+
x-source-commit-sha: b9e4586e52e92a06596c0b2163bcbbd5c099db98
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: b20a53af8a9aee1fd48c351fe14b4b12c8eefd12
25+
x-open-api-commit-sha: 11d1bd0c8d9039fa4f1ce61d7767a85fb8fd4f4e
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -8673,6 +8673,9 @@ components:
86738673
icon:
86748674
$ref: "#/components/schemas/IconConfig"
86758675
description: Agent icon configuration
8676+
isDeleted:
8677+
type: boolean
8678+
description: Indicates whether the agent has been deleted
86768679
userCount:
86778680
type: integer
86788681
description: Total number of users for this agent over the specified time period.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
6-
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
5+
sourceRevisionDigest: sha256:8fa0fc6eb8c8730d6d198f0a04a68f5d58baed5c4d3a13d0ef6bd61eb364b969
6+
sourceBlobDigest: sha256:1fb68d137458fa13fb9f6b2a6eef1ee3406fa827399eb2feefcc04dcd170decb
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763167768
9+
- speakeasy-sdk-regen-1763452922
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:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
21-
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
20+
sourceRevisionDigest: sha256:8fa0fc6eb8c8730d6d198f0a04a68f5d58baed5c4d3a13d0ef6bd61eb364b969
21+
sourceBlobDigest: sha256:1fb68d137458fa13fb9f6b2a6eef1ee3406fa827399eb2feefcc04dcd170decb
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:b3fef6598b035770b97aec02d552dcc779a69b61bee9d07e0943d125588eaa14
23+
codeSamplesRevisionDigest: sha256:249058338673fc555a3a1a8fe9b674de7e55857120a2c97efff51cd3162ffa1d
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

.speakeasy/workflow.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ targets:
1212
publish:
1313
pypi:
1414
token: $pypi_token
15-
packageName: glean-api-client
1615
codeSamples:
1716
registry:
1817
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs-python-code-samples

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,14 @@ Based on:
408408
### Generated
409409
- [python v0.11.14] .
410410
### Releases
411-
- [PyPI v0.11.14] https://pypi.org/project/glean/0.11.14 - .
411+
- [PyPI v0.11.14] https://pypi.org/project/glean/0.11.14 - .
412+
413+
## 2025-11-19 01:46:41
414+
### Changes
415+
Based on:
416+
- OpenAPI Doc
417+
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
418+
### Generated
419+
- [python v0.11.16] .
420+
### Releases
421+
- [PyPI v0.11.16] https://pypi.org/project/glean/0.11.16 - .

docs/models/peragentinsight.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID | |
99
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name | |
1010
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
11+
| `is_deleted` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the agent has been deleted | |
1112
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. | |
1213
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | |
1314
| `upvote_count` | *Optional[int]* | :heavy_minus_sign: | Total number of upvotes for this agent over the specified time period. | |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "glean-api-client"
3-
version = "0.11.14"
3+
version = "0.11.16"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Glean Technologies, Inc." }]
66
license = "MIT"

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"
6-
__version__: str = "0.11.14"
6+
__version__: str = "0.11.16"
77
__openapi_doc_version__: str = "0.9.0"
88
__gen_version__: str = "2.743.2"
9-
__user_agent__: str = "speakeasy-sdk/python 0.11.14 2.743.2 0.9.0 glean"
9+
__user_agent__: str = "speakeasy-sdk/python 0.11.16 2.743.2 0.9.0 glean"
1010

1111
try:
1212
if __package__ is not None:

src/glean/api_client/models/peragentinsight.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class PerAgentInsightTypedDict(TypedDict):
1515
r"""Agent name"""
1616
icon: NotRequired[IconConfigTypedDict]
1717
r"""Defines how to render an icon"""
18+
is_deleted: NotRequired[bool]
19+
r"""Indicates whether the agent has been deleted"""
1820
user_count: NotRequired[int]
1921
r"""Total number of users for this agent over the specified time period."""
2022
run_count: NotRequired[int]
@@ -35,6 +37,9 @@ class PerAgentInsight(BaseModel):
3537
icon: Optional[IconConfig] = None
3638
r"""Defines how to render an icon"""
3739

40+
is_deleted: Annotated[Optional[bool], pydantic.Field(alias="isDeleted")] = None
41+
r"""Indicates whether the agent has been deleted"""
42+
3843
user_count: Annotated[Optional[int], pydantic.Field(alias="userCount")] = None
3944
r"""Total number of users for this agent over the specified time period."""
4045

0 commit comments

Comments
 (0)