Skip to content

Commit 2dbd133

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.558.0
1 parent 7b3aa00 commit 2dbd133

File tree

562 files changed

+49621
-197
lines changed

Some content is hidden

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

562 files changed

+49621
-197
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 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: 1477738232aeb60aace8340880be72ae
4+
docChecksum: 59c6e14049dbd73093349e44990e95cc
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.557.1
6+
speakeasyVersion: 1.558.0
77
generationVersion: 2.623.2
8-
releaseVersion: 0.6.4
9-
configChecksum: 97a162cbd1df1380dc8322bed97ec589
8+
releaseVersion: 0.6.5
9+
configChecksum: bb2b0d325af46323cdd0a355d5cb36cd
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.4
28+
version: 0.6.5
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6826,9 +6826,11 @@ components:
68266826
x-enumDescriptions:
68276827
DEFAULT: Integrates with your company's knowledge.
68286828
GPT: Communicates directly with the LLM.
6829+
UNIVERSAL: Uses both company and web knowledge.
68296830
enum:
68306831
- DEFAULT
68316832
- GPT
6833+
- UNIVERSAL
68326834
mode:
68336835
type: string
68346836
description: Top level modes to run GleanChat in.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.557.1
1+
speakeasyVersion: 1.558.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
6-
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
5+
sourceRevisionDigest: sha256:8a528d68d247ecb98ea1d9d49c135154477cbfbab078b6159359a09f64628fba
6+
sourceBlobDigest: sha256:09d1624a9a347738790040f1fcdc5f2eff15461dd39941a1535efb55e2c8939f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749454024
9+
- speakeasy-sdk-regen-1749491200
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:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
21-
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
20+
sourceRevisionDigest: sha256:8a528d68d247ecb98ea1d9d49c135154477cbfbab078b6159359a09f64628fba
21+
sourceBlobDigest: sha256:09d1624a9a347738790040f1fcdc5f2eff15461dd39941a1535efb55e2c8939f
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:bd2c8dd3d421bb8899be6f133e8dcd287ceaeb9e7022ad1b5f3415d7b335c1ab
23+
codeSamplesRevisionDigest: sha256:d2defba5ce9f2980f4c7a8ed3cd58df2629ca3a2e7c380959c3028c6f231d6ab
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 19 additions & 19 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

@@ -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
@@ -148,4 +148,14 @@ Based on:
148148
### Generated
149149
- [python v0.6.4] .
150150
### Releases
151-
- [PyPI v0.6.4] https://pypi.org/project/glean/0.6.4 - .
151+
- [PyPI v0.6.4] https://pypi.org/project/glean/0.6.4 - .
152+
153+
## 2025-06-09 17:46:17
154+
### Changes
155+
Based on:
156+
- OpenAPI Doc
157+
- Speakeasy CLI 1.558.0 (2.623.2) https://github.com/speakeasy-api/speakeasy
158+
### Generated
159+
- [python v0.6.5] .
160+
### Releases
161+
- [PyPI v0.6.5] https://pypi.org/project/glean/0.6.5 - .

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/agentenum.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Name of the agent.
55

66
## Values
77

8-
| Name | Value |
9-
| --------- | --------- |
10-
| `DEFAULT` | DEFAULT |
11-
| `GPT` | GPT |
8+
| Name | Value |
9+
| ----------- | ----------- |
10+
| `DEFAULT` | DEFAULT |
11+
| `GPT` | GPT |
12+
| `UNIVERSAL` | UNIVERSAL |

docs/sdks/agents/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Returns details of an [agent](https://developers.glean.com/agents/agents-api) cr
1818
### Example Usage
1919

2020
```python
21-
from glean.api_client import Glean
21+
from glean import Glean
2222
import os
2323

2424

@@ -58,7 +58,7 @@ Return [agent](https://developers.glean.com/agents/agents-api)'s input and outpu
5858
### Example Usage
5959

6060
```python
61-
from glean.api_client import Glean
61+
from glean import Glean
6262
import os
6363

6464

@@ -98,7 +98,7 @@ Search for [agents](https://developers.glean.com/agents/agents-api) by agent nam
9898
### Example Usage
9999

100100
```python
101-
from glean.api_client import Glean
101+
from glean import Glean
102102
import os
103103

104104

@@ -137,7 +137,7 @@ Executes an [agent](https://developers.glean.com/agents/agents-api) run and retu
137137
### Example Usage
138138

139139
```python
140-
from glean.api_client import Glean
140+
from glean import Glean
141141
import os
142142

143143

@@ -178,7 +178,7 @@ Executes an [agent](https://developers.glean.com/agents/agents-api) run and retu
178178
### Example Usage
179179

180180
```python
181-
from glean.api_client import Glean
181+
from glean import Glean
182182
import os
183183

184184

docs/sdks/announcements/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Create a textual announcement visible to some set of users based on department a
1717

1818
```python
1919
from datetime import date
20-
from glean.api_client import Glean, models
21-
from glean.api_client.utils import parse_datetime
20+
from glean import Glean, models
21+
from glean.utils import parse_datetime
2222
import os
2323

2424

@@ -22092,7 +22092,7 @@ Delete an existing user-generated announcement.
2209222092
### Example Usage
2209322093

2209422094
```python
22095-
from glean.api_client import Glean
22095+
from glean import Glean
2209622096
import os
2209722097

2209822098

@@ -22127,8 +22127,8 @@ Update a textual announcement visible to some set of users based on department a
2212722127

2212822128
```python
2212922129
from datetime import date
22130-
from glean.api_client import Glean, models
22131-
from glean.api_client.utils import parse_datetime
22130+
from glean import Glean, models
22131+
from glean.utils import parse_datetime
2213222132
import os
2213322133

2213422134

0 commit comments

Comments
 (0)