Skip to content

Commit 4fccf3d

Browse files
committed
fix: module name and testing
fix testing
1 parent 5770991 commit 4fccf3d

File tree

1,095 files changed

+54984
-8930
lines changed

Some content is hidden

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

1,095 files changed

+54984
-8930
lines changed

.genignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyproject.toml

.speakeasy/gen.lock

+1,014-249
Large diffs are not rendered by default.

.speakeasy/gen.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ generation:
1414
parameterOrderingFeb2024: true
1515
requestResponseComponentNamesFeb2024: true
1616
securityFeb2025: true
17+
sharedErrorComponentsApr2025: true
1718
auth:
1819
oAuth2ClientCredentialsEnabled: false
1920
oAuth2PasswordEnabled: false
20-
mockServer:
21-
disabled: true
2221
tests:
2322
generateNewTests: true
23+
skipResponseBodyAssertions: true
2424
python:
2525
version: 0.1.0-beta
2626
additionalDependencies:

.speakeasy/glean-merged-spec.yaml

+183-215
Large diffs are not rendered by default.

.speakeasy/workflow.lock

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.540.0
1+
speakeasyVersion: 1.540.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:7c4c0dd261e2d1b832d1c43a0046a3f8dc10c15462e008dfdfeb9c308da6ab74
6-
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
5+
sourceRevisionDigest: sha256:17a3cccbe692304b9f2f7aeb1d013659e6ea74d40e4aa312c9214b66606f50b8
6+
sourceBlobDigest: sha256:b665c0f813e6c8a41366763feea36eaf8a41b6ac10a6db5c18926f22c3cde2ab
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,8 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:7c4c0dd261e2d1b832d1c43a0046a3f8dc10c15462e008dfdfeb9c308da6ab74
20-
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
21-
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:a48c455b4f42763494e06634e347d2eccf306f93dda08e04b22096d1f4573cc7
19+
sourceRevisionDigest: sha256:17a3cccbe692304b9f2f7aeb1d013659e6ea74d40e4aa312c9214b66606f50b8
20+
sourceBlobDigest: sha256:b665c0f813e6c8a41366763feea36eaf8a41b6ac10a6db5c18926f22c3cde2ab
2321
workflow:
2422
workflowVersion: 1.0.0
2523
speakeasyVersion: latest
@@ -42,4 +40,4 @@ workflow:
4240
fixedValue: Python (SDK)
4341
blocking: false
4442
testing:
45-
enabled: true
43+
enabled: false

.speakeasy/workflow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ targets:
1919
fixedValue: Python (SDK)
2020
blocking: false
2121
testing:
22-
enabled: true
22+
enabled: false

README.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ with a 6-month sunset period for anything that requires developers to adopt the
3838

3939
<!-- End Table of Contents [toc] -->
4040

41-
<!-- Start SDK Installation [installation] -->
4241
## SDK Installation
4342

4443
> [!NOTE]
@@ -53,23 +52,23 @@ The SDK can be installed with either *pip* or *poetry* package managers.
5352
*PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
5453

5554
```bash
56-
pip install glean
55+
pip install api-client-glean
5756
```
5857

5958
### Poetry
6059

6160
*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
6261

6362
```bash
64-
poetry add glean
63+
poetry add api-client-glean
6564
```
6665

6766
### Shell and script usage with `uv`
6867

6968
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
7069

7170
```shell
72-
uvx --from glean python
71+
uvx --from api-client-glean python
7372
```
7473

7574
It's also possible to write a standalone Python script without needing to set up a whole project like so:
@@ -79,7 +78,7 @@ It's also possible to write a standalone Python script without needing to set up
7978
# /// script
8079
# requires-python = ">=3.9"
8180
# dependencies = [
82-
# "glean",
81+
# "api-client-glean",
8382
# ]
8483
# ///
8584

@@ -94,7 +93,7 @@ sdk = Glean(
9493

9594
Once that is saved to a file, you can run it with `uv run script.py` where
9695
`script.py` can be replaced with the actual file name.
97-
<!-- End SDK Installation [installation] -->
96+
<!-- No SDK Installation [installation] -->
9897

9998
<!-- Start IDE Support [idesupport] -->
10099
## IDE Support
@@ -406,10 +405,6 @@ with Glean(
406405

407406
* [generate](docs/sdks/summarize/README.md#generate) - Summarize documents
408407

409-
#### [client.tools](docs/sdks/tools/README.md)
410-
411-
* [execute_action](docs/sdks/tools/README.md#execute_action) - Execute Action Tool
412-
413408
#### [client.user](docs/sdks/clientuser/README.md)
414409

415410
* [add_credential](docs/sdks/clientuser/README.md#add_credential) - Create credentials

docs/errors/collectionerror.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
8-
| `error_code` | [errors.ErrorCode](../errors/errorcode.md) | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
8+
| `error_code` | [models.CollectionErrorErrorCode](../models/collectionerrorerrorcode.md) | :heavy_check_mark: | N/A |

docs/errors/errorcode.md

-14
This file was deleted.

docs/models/addcollectionitemsrequestrequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
8-
| `x_scio_actas` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
8+
| `x_glean_act_as` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
99
| `x_glean_auth_type` | *Optional[str]* | :heavy_minus_sign: | Auth type being used to access the endpoint (should be non-empty only for global tokens). |
1010
| `add_collection_items_request` | [models.AddCollectionItemsRequest](../models/addcollectionitemsrequest.md) | :heavy_check_mark: | Data describing the add operation. |

docs/models/addcredentialrequestrequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
8-
| `x_scio_actas` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
8+
| `x_glean_act_as` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
99
| `x_glean_auth_type` | *Optional[str]* | :heavy_minus_sign: | Auth type being used to access the endpoint (should be non-empty only for global tokens). |
1010
| `add_credential_request` | [models.AddCredentialRequest](../models/addcredentialrequest.md) | :heavy_check_mark: | Credential content |

docs/models/addverificationreminderrequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
8-
| `x_scio_actas` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
8+
| `x_glean_act_as` | *Optional[str]* | :heavy_minus_sign: | Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens). |
99
| `x_glean_auth_type` | *Optional[str]* | :heavy_minus_sign: | Auth type being used to access the endpoint (should be non-empty only for global tokens). |
1010
| `reminder_request` | [models.ReminderRequest](../models/reminderrequest.md) | :heavy_check_mark: | Details about the reminder. |

0 commit comments

Comments
 (0)