Skip to content

Commit 2ba4ec9

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.insights.retrieve()`: `response.agents_response.top_agents_insights.[].icon` **Added**
1 parent e24df6b commit 2ba4ec9

38 files changed

+276
-247
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: true
2828
skipResponseBodyAssertions: true
2929
python:
30-
version: 0.10.0
30+
version: 0.10.1
3131
additionalDependencies:
3232
dev: {}
3333
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8639,6 +8639,9 @@ components:
86398639
agentName:
86408640
type: string
86418641
description: Agent name
8642+
icon:
8643+
$ref: "#/components/schemas/IconConfig"
8644+
description: Agent icon configuration
86428645
userCount:
86438646
type: integer
86448647
description: Total number of users for this agent over the specified time period.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.635.3
1+
speakeasyVersion: 1.636.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
6-
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
5+
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
6+
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759451489
9+
- speakeasy-sdk-regen-1759915420
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:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
21-
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
20+
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
21+
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:0d1a660f011a38e27a21f4c12262125a96c0408cc6efda8952c81d8feca2fb46
23+
codeSamplesRevisionDigest: sha256:a4e8c70388ad6f5de8d9a9f574d8c2fbfbcb5dbbb39aec928142f828023631c5
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
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [python v0.10.0] .
280280
### Releases
281-
- [PyPI v0.10.0] https://pypi.org/project/glean/0.10.0 - .
281+
- [PyPI v0.10.0] https://pypi.org/project/glean/0.10.0 - .
282+
283+
## 2025-10-09 00:46:07
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.636.2 (2.723.8) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [python v0.10.1] .
290+
### Releases
291+
- [PyPI v0.10.1] https://pypi.org/project/glean/0.10.1 - .

docs/models/peragentinsight.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8-
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID |
9-
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name |
10-
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. |
11-
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. |
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
8+
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID | |
9+
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name | |
10+
| `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+
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. | |
12+
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs 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.10.0"
3+
version = "0.10.1"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Glean Technologies, Inc." }]
66
license = "MIT"

speakeasyusagegen/.speakeasy/logs/naming.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ InsightsResponse (HttpMeta: HTTPMetadata, InsightsResponse: InsightsResponse)
761761
AssistantInsightsResponse (monthlyActiveUsers: integer, weeklyActiveUsers: integer, lastUpdatedTs: integer ...)
762762
PerUserAssistantInsight (person: Person, numChatMessages: integer, numSummarizations: integer ...)
763763
AgentsInsightsV2Response (monthlyActiveUsers: integer, weeklyActiveUsers: integer, monthlyActiveUserTimeseries: LabeledCountInfo ...)
764-
PerAgentInsight (agentId: string, agentName: string, userCount: integer ...)
764+
PerAgentInsight (agentId: string, agentName: string, icon: IconConfig ...)
765765
AgentsUsageByDepartmentInsight (department: string, agentAdoptionRate: float32, userCount: integer ...)
766766
AgentUsersInsight (person: Person, departmentName: string, agentsUsedCount: integer ...)
767767
Messages (SDK empty)

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"
6-
__version__: str = "0.10.0"
6+
__version__: str = "0.10.1"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.722.5"
9-
__user_agent__: str = "speakeasy-sdk/python 0.10.0 2.722.5 0.9.0 glean"
8+
__gen_version__: str = "2.723.8"
9+
__user_agent__: str = "speakeasy-sdk/python 0.10.1 2.723.8 0.9.0 glean"
1010

1111
try:
1212
if __package__ is not None:

src/glean/api_client/agents.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def retrieve(
7575
config=self.sdk_configuration,
7676
base_url=base_url or "",
7777
operation_id="getAgent",
78-
oauth2_scopes=[],
78+
oauth2_scopes=None,
7979
security_source=get_security_from_env(
8080
self.sdk_configuration.security, models.Security
8181
),
@@ -161,7 +161,7 @@ async def retrieve_async(
161161
config=self.sdk_configuration,
162162
base_url=base_url or "",
163163
operation_id="getAgent",
164-
oauth2_scopes=[],
164+
oauth2_scopes=None,
165165
security_source=get_security_from_env(
166166
self.sdk_configuration.security, models.Security
167167
),
@@ -247,7 +247,7 @@ def retrieve_schemas(
247247
config=self.sdk_configuration,
248248
base_url=base_url or "",
249249
operation_id="getAgentSchemas",
250-
oauth2_scopes=[],
250+
oauth2_scopes=None,
251251
security_source=get_security_from_env(
252252
self.sdk_configuration.security, models.Security
253253
),
@@ -333,7 +333,7 @@ async def retrieve_schemas_async(
333333
config=self.sdk_configuration,
334334
base_url=base_url or "",
335335
operation_id="getAgentSchemas",
336-
oauth2_scopes=[],
336+
oauth2_scopes=None,
337337
security_source=get_security_from_env(
338338
self.sdk_configuration.security, models.Security
339339
),
@@ -419,7 +419,7 @@ def list(
419419
config=self.sdk_configuration,
420420
base_url=base_url or "",
421421
operation_id="searchAgents",
422-
oauth2_scopes=[],
422+
oauth2_scopes=None,
423423
security_source=get_security_from_env(
424424
self.sdk_configuration.security, models.Security
425425
),
@@ -505,7 +505,7 @@ async def list_async(
505505
config=self.sdk_configuration,
506506
base_url=base_url or "",
507507
operation_id="searchAgents",
508-
oauth2_scopes=[],
508+
oauth2_scopes=None,
509509
security_source=get_security_from_env(
510510
self.sdk_configuration.security, models.Security
511511
),
@@ -602,7 +602,7 @@ def run_stream(
602602
config=self.sdk_configuration,
603603
base_url=base_url or "",
604604
operation_id="createAndStreamRun",
605-
oauth2_scopes=[],
605+
oauth2_scopes=None,
606606
security_source=get_security_from_env(
607607
self.sdk_configuration.security, models.Security
608608
),
@@ -701,7 +701,7 @@ async def run_stream_async(
701701
config=self.sdk_configuration,
702702
base_url=base_url or "",
703703
operation_id="createAndStreamRun",
704-
oauth2_scopes=[],
704+
oauth2_scopes=None,
705705
security_source=get_security_from_env(
706706
self.sdk_configuration.security, models.Security
707707
),
@@ -800,7 +800,7 @@ def run(
800800
config=self.sdk_configuration,
801801
base_url=base_url or "",
802802
operation_id="createAndWaitRun",
803-
oauth2_scopes=[],
803+
oauth2_scopes=None,
804804
security_source=get_security_from_env(
805805
self.sdk_configuration.security, models.Security
806806
),
@@ -899,7 +899,7 @@ async def run_async(
899899
config=self.sdk_configuration,
900900
base_url=base_url or "",
901901
operation_id="createAndWaitRun",
902-
oauth2_scopes=[],
902+
oauth2_scopes=None,
903903
security_source=get_security_from_env(
904904
self.sdk_configuration.security, models.Security
905905
),

0 commit comments

Comments
 (0)