Skip to content

Commit 1495541

Browse files
Merge pull request #13 from gleanwork/speakeasy-sdk-regen-1746756218
chore: 🐝 Update SDK - Generate 0.3.0
2 parents 33c7cdc + 27de902 commit 1495541

File tree

59 files changed

+102856
-1684
lines changed

Some content is hidden

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

59 files changed

+102856
-1684
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
**/__pycache__/
12
**/.speakeasy/temp/
23
**/.speakeasy/logs/
34
.speakeasy/logs/

.speakeasy/gen.lock

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: true
2525
skipResponseBodyAssertions: true
2626
python:
27-
version: 0.2.0
27+
version: 0.3.0
2828
additionalDependencies:
2929
dev: {}
3030
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ info:
2525
url: https://app.glean.com/images/glean-text2.svg
2626
x-speakeasy-name: "Glean API"
2727
servers:
28-
- url: https://{domain}-be.glean.com
28+
- url: https://{instance}-be.glean.com
2929
variables:
30-
domain:
31-
default: domain
32-
description: Email domain (without extension) that determines the deployment backend.
30+
instance:
31+
default: instance-name
32+
description: The instance name (typically the email domain without the extension) that determines the deployment backend.
3333
security:
3434
- APIToken: []
3535
paths:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.542.3
1+
speakeasyVersion: 1.543.4
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
6-
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
5+
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
6+
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746549015
9+
- speakeasy-sdk-regen-1746756218
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:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
21-
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
20+
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
21+
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:2252d06a877a63b553700d7dc23f5cd1ab9264082801c5598d1a9aa32dd86cda
23+
codeSamplesRevisionDigest: sha256:d38b6417892fee6a7e579263603b0810bba17f621e75c450aea18059d7812d7f
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ By default, an API error will raise a errors.GleanError exception, which has the
686686

687687
### Server Variables
688688

689-
The default server `https://{domain}-be.glean.com` contains variables and is set to `https://domain-be.glean.com` by default. To override default values, the following parameters are available when initializing the SDK client instance:
689+
The default server `https://{instance}-be.glean.com` contains variables and is set to `https://instance-name-be.glean.com` by default. To override default values, the following parameters are available when initializing the SDK client instance:
690690

691-
| Variable | Parameter | Default | Description |
692-
| -------- | ------------- | ---------- | ------------------------------------------------------------------------ |
693-
| `domain` | `domain: str` | `"domain"` | Email domain (without extension) that determines the deployment backend. |
691+
| Variable | Parameter | Default | Description |
692+
| ---------- | --------------- | ----------------- | ------------------------------------------------------------------------------------------------------------ |
693+
| `instance` | `instance: str` | `"instance-name"` | The instance name (typically the email domain without the extension) that determines the deployment backend. |
694694

695695
#### Example
696696

@@ -701,7 +701,7 @@ import os
701701

702702

703703
with Glean(
704-
domain="scared-pearl.biz"
704+
instance="<value>"
705705
api_token=os.getenv("GLEAN_API_TOKEN", ""),
706706
) as g_client:
707707

@@ -744,7 +744,7 @@ import os
744744

745745

746746
with Glean(
747-
server_url="https://domain-be.glean.com",
747+
server_url="https://instance-name-be.glean.com",
748748
api_token=os.getenv("GLEAN_API_TOKEN", ""),
749749
) as g_client:
750750

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ Based on:
2828
### Generated
2929
- [python v0.2.0] .
3030
### Releases
31-
- [PyPI v0.2.0] https://pypi.org/project/glean/0.2.0 - .
31+
- [PyPI v0.2.0] https://pypi.org/project/glean/0.2.0 - .
32+
33+
## 2025-05-09 21:49:56
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc
37+
- Speakeasy CLI 1.543.4 (2.598.22) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [python v0.3.0] .
40+
### Releases
41+
- [PyPI v0.3.0] https://pypi.org/project/glean/0.3.0 - .

0 commit comments

Comments
 (0)