Skip to content

Commit 35a36a8

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.557.0
1 parent df358d7 commit 35a36a8

File tree

563 files changed

+49603
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

563 files changed

+49603
-203
lines changed

.speakeasy/gen.lock

Lines changed: 3 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: a0748babeea2c91be038da9e477a97f3
4+
docChecksum: 895c9d213122353173d7c129b2c8d4b7
55
docVersion: 0.9.0
66
speakeasyVersion: 1.557.0
77
generationVersion: 2.623.0
8-
releaseVersion: 0.6.2
9-
configChecksum: ab8ab0e8587f7623b82fc0b4371b04b9
8+
releaseVersion: 0.6.3
9+
configChecksum: f4420151b362f554dd36cc2e52ba1688
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: true
2727
python:
28-
version: 0.6.2
28+
version: 0.6.3
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,8 @@ paths:
945945
post:
946946
tags:
947947
- Agents
948-
summary: Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
949-
description: Executes an agent run and returns the final response.
948+
summary: Create an agent run and wait for the response
949+
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
950950
operationId: createAndWaitRun
951951
x-visibility: Preview
952952
requestBody:
@@ -7475,11 +7475,11 @@ components:
74757475
input_schema:
74767476
type: object
74777477
title: Input Schema
7478-
description: The schema for the agent input. In JSON schema format.
7478+
description: The schema for the agent input. In JSON Schema format.
74797479
output_schema:
74807480
type: object
74817481
title: Output Schema
7482-
description: The schema for the agent output. In JSON schema format.
7482+
description: The schema for the agent output. In JSON Schema format.
74837483
type: object
74847484
required:
74857485
- agent_id

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.557.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
6-
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
5+
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
6+
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749237128
9+
- speakeasy-sdk-regen-1749247136
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:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
21-
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
20+
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
21+
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:a4e3d3787a5f493fb7e73dc7f1a9a0826462cd51e6bc313b50e993958fb0bc7f
23+
codeSamplesRevisionDigest: sha256:616f210191e4d9c7270884cda5aee3e53caa4a3c1eba93997f725bdd345eed8c
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
135135

136136
```python
137137
# Synchronous Example
138-
from glean.api_client import Glean, models
138+
from glean import Glean, models
139139
import os
140140

141141

@@ -163,7 +163,7 @@ The same SDK client can also be used to make asychronous requests by importing a
163163
```python
164164
# Asynchronous Example
165165
import asyncio
166-
from glean.api_client import Glean, models
166+
from glean import Glean, models
167167
import os
168168

169169
async def main():
@@ -192,7 +192,7 @@ asyncio.run(main())
192192

193193
```python
194194
# Synchronous Example
195-
from glean.api_client import Glean, models
195+
from glean import Glean, models
196196
import os
197197

198198

@@ -220,7 +220,7 @@ The same SDK client can also be used to make asychronous requests by importing a
220220
```python
221221
# Asynchronous Example
222222
import asyncio
223-
from glean.api_client import Glean, models
223+
from glean import Glean, models
224224
import os
225225

226226
async def main():
@@ -259,8 +259,8 @@ This SDK supports the following security scheme globally:
259259

260260
To authenticate with the API the `api_token` parameter must be set when initializing the SDK client instance. For example:
261261
```python
262-
from glean.api_client import Glean, models
263-
from glean.api_client.utils import parse_datetime
262+
from glean import Glean, models
263+
from glean.utils import parse_datetime
264264
import os
265265

266266

@@ -347,7 +347,7 @@ For more information on obtaining the appropriate token type, please contact you
347347
* [retrieve_schemas](docs/sdks/agents/README.md#retrieve_schemas) - List an agent's schemas
348348
* [list](docs/sdks/agents/README.md#list) - Search agents
349349
* [run_stream](docs/sdks/agents/README.md#run_stream) - Create an agent run and stream the response
350-
* [run](docs/sdks/agents/README.md#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
350+
* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
351351

352352
#### [client.announcements](docs/sdks/announcements/README.md)
353353

@@ -541,8 +541,8 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
541541

542542
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
543543
```python
544-
from glean.api_client import Glean, models
545-
from glean.api_client.utils import BackoffStrategy, RetryConfig, parse_datetime
544+
from glean import Glean, models
545+
from glean.utils import BackoffStrategy, RetryConfig, parse_datetime
546546
import os
547547

548548

@@ -582,8 +582,8 @@ with Glean(
582582

583583
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
584584
```python
585-
from glean.api_client import Glean, models
586-
from glean.api_client.utils import BackoffStrategy, RetryConfig, parse_datetime
585+
from glean import Glean, models
586+
from glean.utils import BackoffStrategy, RetryConfig, parse_datetime
587587
import os
588588

589589

@@ -720,8 +720,8 @@ The default server `https://{instance}-be.glean.com` contains variables and is s
720720
#### Example
721721

722722
```python
723-
from glean.api_client import Glean, models
724-
from glean.api_client.utils import parse_datetime
723+
from glean import Glean, models
724+
from glean.utils import parse_datetime
725725
import os
726726

727727

@@ -763,8 +763,8 @@ with Glean(
763763

764764
The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
765765
```python
766-
from glean.api_client import Glean, models
767-
from glean.api_client.utils import parse_datetime
766+
from glean import Glean, models
767+
from glean.utils import parse_datetime
768768
import os
769769

770770

@@ -812,7 +812,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
812812

813813
For example, you could specify a header for every request that this sdk makes as follows:
814814
```python
815-
from glean.api_client import Glean
815+
from glean import Glean
816816
import httpx
817817

818818
http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -821,8 +821,8 @@ s = Glean(client=http_client)
821821

822822
or you could wrap the client with your own custom logic:
823823
```python
824-
from glean.api_client import Glean
825-
from glean.api_client.httpclient import AsyncHttpClient
824+
from glean import Glean
825+
from glean.httpclient import AsyncHttpClient
826826
import httpx
827827

828828
class CustomClient(AsyncHttpClient):
@@ -892,7 +892,7 @@ The `Glean` class implements the context manager protocol and registers a finali
892892
[context-manager]: https://docs.python.org/3/reference/datamodel.html#context-managers
893893

894894
```python
895-
from glean.api_client import Glean
895+
from glean import Glean
896896
import os
897897
def main():
898898

@@ -919,7 +919,7 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
919919

920920
You can pass your own logger class directly into your SDK.
921921
```python
922-
from glean.api_client import Glean
922+
from glean import Glean
923923
import logging
924924

925925
logging.basicConfig(level=logging.DEBUG)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,14 @@ Based on:
128128
### Generated
129129
- [python v0.6.2] .
130130
### Releases
131-
- [PyPI v0.6.2] https://pypi.org/project/glean/0.6.2 - .
131+
- [PyPI v0.6.2] https://pypi.org/project/glean/0.6.2 - .
132+
133+
## 2025-06-06 21:58:33
134+
### Changes
135+
Based on:
136+
- OpenAPI Doc
137+
- Speakeasy CLI 1.557.0 (2.623.0) https://github.com/speakeasy-api/speakeasy
138+
### Generated
139+
- [python v0.6.3] .
140+
### Releases
141+
- [PyPI v0.6.3] https://pypi.org/project/glean/0.6.3 - .

USAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Start SDK Example Usage [usage] -->
22
```python
33
# Synchronous Example
4-
from glean.api_client import Glean, models
4+
from glean import Glean, models
55
import os
66

77

@@ -29,7 +29,7 @@ The same SDK client can also be used to make asychronous requests by importing a
2929
```python
3030
# Asynchronous Example
3131
import asyncio
32-
from glean.api_client import Glean, models
32+
from glean import Glean, models
3333
import os
3434

3535
async def main():
@@ -56,7 +56,7 @@ asyncio.run(main())
5656

5757
```python
5858
# Synchronous Example
59-
from glean.api_client import Glean, models
59+
from glean import Glean, models
6060
import os
6161

6262

@@ -84,7 +84,7 @@ The same SDK client can also be used to make asychronous requests by importing a
8484
```python
8585
# Asynchronous Example
8686
import asyncio
87-
from glean.api_client import Glean, models
87+
from glean import Glean, models
8888
import os
8989

9090
async def main():

docs/models/agentschemas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Defines the structure and properties of an agent.
88
| Field | Type | Required | Description | Example |
99
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
1010
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent. | mho4lwzylcozgoc2 |
11-
| `input_schema` | [models.InputSchema](../models/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON schema format. | |
12-
| `output_schema` | [models.OutputSchema](../models/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON schema format. | |
11+
| `input_schema` | [models.InputSchema](../models/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON Schema format. | |
12+
| `output_schema` | [models.OutputSchema](../models/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON Schema format. | |

docs/models/inputschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# InputSchema
22

3-
The schema for the agent input. In JSON schema format.
3+
The schema for the agent input. In JSON Schema format.
44

55

66
## Fields

docs/models/outputschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OutputSchema
22

3-
The schema for the agent output. In JSON schema format.
3+
The schema for the agent output. In JSON Schema format.
44

55

66
## Fields

0 commit comments

Comments
 (0)