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
17 changes: 7 additions & 10 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 2ffc5de135d861194642d3cb0a9e3bb4
docChecksum: 32dd53402e2cd4015df1497391a25ceb
docVersion: 0.9.0
speakeasyVersion: 1.642.1
generationVersion: 2.731.4
releaseVersion: 0.11.2
configChecksum: 681112b04101028f6621f6ef2b0c3257
speakeasyVersion: 1.649.0
generationVersion: 2.739.1
releaseVersion: 0.11.3
configChecksum: 9cb8a7f3329f2469101aad1c7ce0888e
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand All @@ -16,7 +16,7 @@ features:
additionalProperties: 1.0.1
configurableModuleName: 0.2.0
constsAndDefaults: 1.0.5
core: 5.23.0
core: 5.23.4
defaultEnabledRetries: 0.2.0
deprecations: 3.0.2
devContainers: 3.0.0
Expand All @@ -28,7 +28,7 @@ features:
globalSecurity: 3.0.4
globalSecurityCallbacks: 1.0.0
globalSecurityFlattening: 1.0.0
globalServerURLs: 3.1.1
globalServerURLs: 3.2.0
groups: 3.0.1
methodArguments: 1.0.2
mockServer: 0.1.1
Expand Down Expand Up @@ -2742,6 +2742,3 @@ generatedTests:
editcollection: "2025-06-12T19:13:52-04:00"
createshortcut: "2025-06-12T19:13:52-04:00"
updateshortcut: "2025-06-12T19:13:52-04:00"
releaseNotes: |
## Python SDK Changes Detected:
* `glean.client.insights.retrieve()`: `response.agents_response` **Changed**
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.2
version: 0.11.3
additionalDependencies:
dev: {}
main: {}
Expand Down
5 changes: 3 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7378,7 +7378,7 @@ components:
additionalProperties:
$ref: "#/components/schemas/WriteActionParameter"
ChatMessageFragment:
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file.
allOf:
- $ref: "#/components/schemas/Result"
- type: object
Expand Down Expand Up @@ -11788,7 +11788,8 @@ components:
type: array
items:
$ref: "#/components/schemas/DatasourceObjectTypeDocumentCountEntry"
description: A list of object types and corresponding upload counts
description: |
A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale.
indexed:
type: array
description: The number of documents indexed, grouped by objectType
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.642.1
speakeasyVersion: 1.649.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:092bfa8d363f0191930191e522b5f72025fec603b0474d9d5d2380b79b356f32
sourceBlobDigest: sha256:84c15305b5763d040c255114c33c0c78072f77ac102895bf669b71c32f037048
sourceRevisionDigest: sha256:7365082c1cce88ce70a8d3236d544faf9f251cec5fbae1b45b592acb841b262c
sourceBlobDigest: sha256:65aeb5314d524c7f62b12446b09c7381fb911e9d7c057e230f7f26d85b8e982b
tags:
- latest
- speakeasy-sdk-regen-1761685663
- speakeasy-sdk-regen-1762301903
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:092bfa8d363f0191930191e522b5f72025fec603b0474d9d5d2380b79b356f32
sourceBlobDigest: sha256:84c15305b5763d040c255114c33c0c78072f77ac102895bf669b71c32f037048
sourceRevisionDigest: sha256:7365082c1cce88ce70a8d3236d544faf9f251cec5fbae1b45b592acb841b262c
sourceBlobDigest: sha256:65aeb5314d524c7f62b12446b09c7381fb911e9d7c057e230f7f26d85b8e982b
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:05f915b94763a1499036f686db919aff002fb8e42c8feb22fef55e1208b96383
codeSamplesRevisionDigest: sha256:6d93002caf2b6bb77ae4bd2f9e37ab56f9044c6d905ab5c9879f015fbe331a1a
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,8 @@ import os


with Glean(
instance="<value>"
server_idx=0,
instance="instance-name",
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as glean:

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,14 @@ Based on:
### Generated
- [python v0.11.2] .
### Releases
- [PyPI v0.11.2] https://pypi.org/project/glean/0.11.2 - .
- [PyPI v0.11.2] https://pypi.org/project/glean/0.11.2 - .

## 2025-11-05 16:08:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.649.0 (2.739.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.3] .
### Releases
- [PyPI v0.11.3] https://pypi.org/project/glean/0.11.3 - .
2 changes: 1 addition & 1 deletion docs/models/chatmessagefragment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ChatMessageFragment

Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file.


## Fields
Expand Down
8 changes: 4 additions & 4 deletions docs/models/debugdatasourcestatusresponsecounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `uploaded` | List[[models.DatasourceObjectTypeDocumentCountEntry](../models/datasourceobjecttypedocumentcountentry.md)] | :heavy_minus_sign: | A list of object types and corresponding upload counts |
| `indexed` | List[[models.DatasourceObjectTypeDocumentCountEntry](../models/datasourceobjecttypedocumentcountentry.md)] | :heavy_minus_sign: | The number of documents indexed, grouped by objectType |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `uploaded` | List[[models.DatasourceObjectTypeDocumentCountEntry](../models/datasourceobjecttypedocumentcountentry.md)] | :heavy_minus_sign: | A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale.<br/> |
| `indexed` | List[[models.DatasourceObjectTypeDocumentCountEntry](../models/datasourceobjecttypedocumentcountentry.md)] | :heavy_minus_sign: | The number of documents indexed, grouped by objectType |
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.11.2"
version = "0.11.3"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
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.11.2"
__version__: str = "0.11.3"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.731.4"
__user_agent__: str = "speakeasy-sdk/python 0.11.2 2.731.4 0.9.0 glean"
__gen_version__: str = "2.739.1"
__user_agent__: str = "speakeasy-sdk/python 0.11.3 2.739.1 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
4 changes: 2 additions & 2 deletions src/glean/api_client/models/chatmessagefragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ChatMessageFragmentTypedDict(TypedDict):
r"""Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file."""
r"""Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file."""

structured_results: NotRequired[List[StructuredResultTypedDict]]
r"""An array of entities in the work graph retrieved via a data request."""
Expand All @@ -29,7 +29,7 @@ class ChatMessageFragmentTypedDict(TypedDict):


class ChatMessageFragment(BaseModel):
r"""Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file."""
r"""Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file."""

structured_results: Annotated[
Optional[List[StructuredResult]], pydantic.Field(alias="structuredResults")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@

class DebugDatasourceStatusResponseCountsTypedDict(TypedDict):
uploaded: NotRequired[List[DatasourceObjectTypeDocumentCountEntryTypedDict]]
r"""A list of object types and corresponding upload counts"""
r"""A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale.

"""
indexed: NotRequired[List[DatasourceObjectTypeDocumentCountEntryTypedDict]]
r"""The number of documents indexed, grouped by objectType"""


class DebugDatasourceStatusResponseCounts(BaseModel):
uploaded: Optional[List[DatasourceObjectTypeDocumentCountEntry]] = None
r"""A list of object types and corresponding upload counts"""
r"""A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale.

"""

indexed: Optional[List[DatasourceObjectTypeDocumentCountEntry]] = None
r"""The number of documents indexed, grouped by objectType"""
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.