Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.10.0
version: 0.10.1
additionalDependencies:
dev: {}
main: {}
Expand Down
3 changes: 3 additions & 0 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8639,6 +8639,9 @@ components:
agentName:
type: string
description: Agent name
icon:
$ref: "#/components/schemas/IconConfig"
description: Agent icon configuration
userCount:
type: integer
description: Total number of users for this agent over the specified time period.
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.635.3
speakeasyVersion: 1.636.2
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
tags:
- latest
- speakeasy-sdk-regen-1759451489
- speakeasy-sdk-regen-1759915420
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:0d1a660f011a38e27a21f4c12262125a96c0408cc6efda8952c81d8feca2fb46
codeSamplesRevisionDigest: sha256:a4e8c70388ad6f5de8d9a9f574d8c2fbfbcb5dbbb39aec928142f828023631c5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,14 @@ Based on:
### Generated
- [python v0.10.0] .
### Releases
- [PyPI v0.10.0] https://pypi.org/project/glean/0.10.0 - .
- [PyPI v0.10.0] https://pypi.org/project/glean/0.10.0 - .

## 2025-10-09 01:25:23
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.636.2 (2.723.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.10.1] .
### Releases
- [PyPI v0.10.1] https://pypi.org/project/glean/0.10.1 - .
13 changes: 7 additions & 6 deletions docs/models/peragentinsight.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID |
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name |
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. |
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID | |
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name | |
| `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/>} |
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. | |
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | |
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "glean-api-client"
version = "0.10.0"
version = "0.10.1"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion speakeasyusagegen/.speakeasy/logs/naming.log
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ InsightsResponse (HttpMeta: HTTPMetadata, InsightsResponse: InsightsResponse)
AssistantInsightsResponse (monthlyActiveUsers: integer, weeklyActiveUsers: integer, lastUpdatedTs: integer ...)
PerUserAssistantInsight (person: Person, numChatMessages: integer, numSummarizations: integer ...)
AgentsInsightsV2Response (monthlyActiveUsers: integer, weeklyActiveUsers: integer, monthlyActiveUserTimeseries: LabeledCountInfo ...)
PerAgentInsight (agentId: string, agentName: string, userCount: integer ...)
PerAgentInsight (agentId: string, agentName: string, icon: IconConfig ...)
AgentsUsageByDepartmentInsight (department: string, agentAdoptionRate: float32, userCount: integer ...)
AgentUsersInsight (person: Person, departmentName: string, agentsUsedCount: integer ...)
Messages (SDK empty)
Expand Down
6 changes: 3 additions & 3 deletions src/glean/api_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "glean"
__version__: str = "0.10.0"
__version__: str = "0.10.1"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.722.5"
__user_agent__: str = "speakeasy-sdk/python 0.10.0 2.722.5 0.9.0 glean"
__gen_version__: str = "2.723.8"
__user_agent__: str = "speakeasy-sdk/python 0.10.1 2.723.8 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
20 changes: 10 additions & 10 deletions src/glean/api_client/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def retrieve(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getAgent",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -161,7 +161,7 @@ async def retrieve_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getAgent",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -247,7 +247,7 @@ def retrieve_schemas(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getAgentSchemas",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -333,7 +333,7 @@ async def retrieve_schemas_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getAgentSchemas",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -419,7 +419,7 @@ def list(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="searchAgents",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -505,7 +505,7 @@ async def list_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="searchAgents",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -602,7 +602,7 @@ def run_stream(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createAndStreamRun",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -701,7 +701,7 @@ async def run_stream_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createAndStreamRun",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -800,7 +800,7 @@ def run(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createAndWaitRun",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -899,7 +899,7 @@ async def run_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createAndWaitRun",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down
12 changes: 6 additions & 6 deletions src/glean/api_client/announcements.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -252,7 +252,7 @@ async def create_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -338,7 +338,7 @@ def delete(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="deleteannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -424,7 +424,7 @@ async def delete_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="deleteannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -558,7 +558,7 @@ def update(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="updateannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -692,7 +692,7 @@ async def update_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="updateannouncement",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down
20 changes: 10 additions & 10 deletions src/glean/api_client/answers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def create(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -161,7 +161,7 @@ async def create_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="createanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -250,7 +250,7 @@ def delete(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="deleteanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -339,7 +339,7 @@ async def delete_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="deleteanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -503,7 +503,7 @@ def update(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="editanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -667,7 +667,7 @@ async def update_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="editanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -756,7 +756,7 @@ def retrieve(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -845,7 +845,7 @@ async def retrieve_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="getanswer",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -931,7 +931,7 @@ def list(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="listanswers",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down Expand Up @@ -1017,7 +1017,7 @@ async def list_async(
config=self.sdk_configuration,
base_url=base_url or "",
operation_id="listanswers",
oauth2_scopes=[],
oauth2_scopes=None,
security_source=get_security_from_env(
self.sdk_configuration.security, models.Security
),
Expand Down
Loading