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
9 changes: 6 additions & 3 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: 0ac885f7072adae50d62b33db76f5bb4
docChecksum: 09ae73bbaebb3968dc7590f295580164
docVersion: 0.9.0
speakeasyVersion: 1.650.0
generationVersion: 2.743.2
releaseVersion: 0.11.6
configChecksum: d985e94635c94b65adb4be5e9489c272
releaseVersion: 0.11.8
configChecksum: 822545fd662c7ee4c3cd04767a37a98a
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand Down Expand Up @@ -2742,3 +2742,6 @@ 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.chat.retrieve_files()`: `request.chat_id` **Removed** **Breaking** :warning:
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.6
version: 0.11.8
additionalDependencies:
dev: {}
main: {}
Expand Down
3 changes: 0 additions & 3 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7654,9 +7654,6 @@ components:
items:
type: string
description: IDs of files to fetch.
chatId:
type: string
description: The ID of the chat that contains the chat file.
GetChatFilesResponse:
properties:
files:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1
sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1
sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
tags:
- latest
- speakeasy-sdk-regen-1763063487
- speakeasy-sdk-regen-1763081166
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:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1
sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1
sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:147be66f439209d4fdaa8cbf20219ff8bb25480455b775716da3f8275d79224f
codeSamplesRevisionDigest: sha256:90843eca9fa9c37835f6112e07ce874530d24ae6fae39dc90721d789ca30ba08
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 @@ -368,4 +368,14 @@ Based on:
### Generated
- [python v0.11.6] .
### Releases
- [PyPI v0.11.6] https://pypi.org/project/glean/0.11.6 - .
- [PyPI v0.11.6] https://pypi.org/project/glean/0.11.6 - .

## 2025-11-14 01:41:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.8] .
### Releases
- [PyPI v0.11.8] https://pypi.org/project/glean/0.11.8 - .
7 changes: 3 additions & 4 deletions docs/models/getchatfilesrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

## Fields

| Field | Type | Required | Description |
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
| `file_ids` | List[*str*] | :heavy_check_mark: | IDs of files to fetch. |
| `chat_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the chat that contains the chat file. |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `file_ids` | List[*str*] | :heavy_check_mark: | IDs of files to fetch. |
1 change: 0 additions & 1 deletion docs/sdks/clientchat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ with Glean(
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `file_ids` | List[*str*] | :heavy_check_mark: | IDs of files to fetch. |
| `timezone_offset` | *Optional[int]* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
| `chat_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the chat that contains the chat file. |
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |

### Response
Expand Down
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.6"
version = "0.11.8"
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 @@ -644,7 +644,7 @@ UploadchatfilesRequest (timezoneOffset: integer, body: UploadChatFilesRequest)
UploadchatfilesResponse (HttpMeta: HTTPMetadata, UploadChatFilesResponse: UploadChatFilesResponse)
UploadChatFilesResponse (files: array)
GetchatfilesRequest (timezoneOffset: integer, body: GetChatFilesRequest)
GetChatFilesRequest (fileIds: array, chatId: string)
GetChatFilesRequest (fileIds: array)
GetchatfilesResponse (HttpMeta: HTTPMetadata, GetChatFilesResponse: GetChatFilesResponse)
GetChatFilesResponse (files: map)
DeletechatfilesRequest (timezoneOffset: integer, body: DeleteChatFilesRequest)
Expand Down
4 changes: 2 additions & 2 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.6"
__version__: str = "0.11.8"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.743.2"
__user_agent__: str = "speakeasy-sdk/python 0.11.6 2.743.2 0.9.0 glean"
__user_agent__: str = "speakeasy-sdk/python 0.11.8 2.743.2 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
6 changes: 0 additions & 6 deletions src/glean/api_client/client_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,6 @@ def retrieve_files(
*,
file_ids: List[str],
timezone_offset: Optional[int] = None,
chat_id: Optional[str] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand All @@ -1385,7 +1384,6 @@ def retrieve_files(

:param file_ids: IDs of files to fetch.
:param timezone_offset: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
:param chat_id: The ID of the chat that contains the chat file.
:param retries: Override the default retry configuration for this method
:param server_url: Override the default server URL for this method
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
Expand All @@ -1405,7 +1403,6 @@ def retrieve_files(
timezone_offset=timezone_offset,
get_chat_files_request=models.GetChatFilesRequest(
file_ids=file_ids,
chat_id=chat_id,
),
)

Expand Down Expand Up @@ -1471,7 +1468,6 @@ async def retrieve_files_async(
*,
file_ids: List[str],
timezone_offset: Optional[int] = None,
chat_id: Optional[str] = None,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
Expand All @@ -1483,7 +1479,6 @@ async def retrieve_files_async(

:param file_ids: IDs of files to fetch.
:param timezone_offset: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
:param chat_id: The ID of the chat that contains the chat file.
:param retries: Override the default retry configuration for this method
:param server_url: Override the default server URL for this method
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
Expand All @@ -1503,7 +1498,6 @@ async def retrieve_files_async(
timezone_offset=timezone_offset,
get_chat_files_request=models.GetChatFilesRequest(
file_ids=file_ids,
chat_id=chat_id,
),
)

Expand Down
9 changes: 2 additions & 7 deletions src/glean/api_client/models/getchatfilesrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@
from __future__ import annotations
from glean.api_client.types import BaseModel
import pydantic
from typing import List, Optional
from typing_extensions import Annotated, NotRequired, TypedDict
from typing import List
from typing_extensions import Annotated, TypedDict


class GetChatFilesRequestTypedDict(TypedDict):
file_ids: List[str]
r"""IDs of files to fetch."""
chat_id: NotRequired[str]
r"""The ID of the chat that contains the chat file."""


class GetChatFilesRequest(BaseModel):
file_ids: Annotated[List[str], pydantic.Field(alias="fileIds")]
r"""IDs of files to fetch."""

chat_id: Annotated[Optional[str], pydantic.Field(alias="chatId")] = None
r"""The ID of the chat that contains the chat file."""

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

Loading