Skip to content

Commit 0884af2

Browse files
committed
## Python SDK Changes:
* `glean.search.query()`: * `request.datasource_instances` **Removed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error.status[422]` **Added** * `glean.skills.update()`: **Added** * `glean.search.list_filters()`: **Added**
1 parent 5aaa028 commit 0884af2

70 files changed

Lines changed: 2114 additions & 318 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 211 additions & 82 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
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.15.4
37+
version: 0.15.5
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

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

.speakeasy/tests.arazzo.yaml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158821,7 +158821,7 @@ workflows:
158821158821
- condition: $response.header.Content-Type == application/json
158822158822
- context: $response.body
158823158823
condition: |
158824-
{"results":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>"}
158824+
{"results":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>","warnings":[]}
158825158825
type: simple
158826158826
x-speakeasy-test-group: search
158827158827
x-speakeasy-test-rebuild: true
@@ -159048,3 +159048,37 @@ workflows:
159048159048
type: simple
159049159049
x-speakeasy-test-group: indexing_datasources
159050159050
x-speakeasy-test-rebuild: true
159051+
- workflowId: platform-skills-update
159052+
steps:
159053+
- stepId: test
159054+
operationId: platform-skills-update
159055+
parameters:
159056+
- name: skill_id
159057+
in: path
159058+
value: <id>
159059+
requestBody:
159060+
contentType: application/json
159061+
payload:
159062+
status: DISABLED
159063+
successCriteria:
159064+
- condition: $statusCode == 200
159065+
- condition: $response.header.Content-Type == application/json
159066+
- context: $response.body
159067+
condition: |
159068+
{"skill":{"id":"<id>","display_name":"Afton14","description":"taut netsuke duh sonata boastfully elegantly management come","latest_version":425795,"latest_minor_version":741364,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-20T01:31:39.364Z","updated_at":"2025-12-04T02:59:37.124Z"},"request_id":"<id>"}
159069+
type: simple
159070+
x-speakeasy-test-group: skills
159071+
x-speakeasy-test-rebuild: true
159072+
- workflowId: platform-search-filters
159073+
steps:
159074+
- stepId: test
159075+
operationId: platform-search-filters
159076+
successCriteria:
159077+
- condition: $statusCode == 200
159078+
- condition: $response.header.Content-Type == application/json
159079+
- context: $response.body
159080+
condition: |
159081+
{"datasources":[],"request_id":"<id>"}
159082+
type: simple
159083+
x-speakeasy-test-group: search
159084+
x-speakeasy-test-rebuild: true

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.790.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
6-
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
5+
sourceRevisionDigest: sha256:df6306b043b76e11f23431dbc07238aac8e66e93a7c2f20e000bb7037ec927a5
6+
sourceBlobDigest: sha256:5efbac3bf592f2137ede8f72269ba1eaba22fb0ac9b25efa0a5f278efab33a13
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
20-
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
19+
sourceRevisionDigest: sha256:df6306b043b76e11f23431dbc07238aac8e66e93a7c2f20e000bb7037ec927a5
20+
sourceBlobDigest: sha256:5efbac3bf592f2137ede8f72269ba1eaba22fb0ac9b25efa0a5f278efab33a13
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:943570f36dd3410a28a56036049c09ace110d13bee2075f5f335acc143463cee
22+
codeSamplesRevisionDigest: sha256:b9e1184456158f8d972e347c42c92ad56650ab74c2f7cfd7936e75a64660b673
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,12 +549,14 @@ For more information on obtaining the appropriate token type, please contact you
549549
### [Search](docs/sdks/search/README.md)
550550

551551
* [query](docs/sdks/search/README.md#query) - Search
552+
* [list_filters](docs/sdks/search/README.md#list_filters) - List search filters
552553

553554
### [Skills](docs/sdks/skills/README.md)
554555

555556
* [create](docs/sdks/skills/README.md#create) - Create skill
556557
* [list](docs/sdks/skills/README.md#list) - List skills
557558
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
559+
* [update](docs/sdks/skills/README.md#update) - Update skill
558560
* [retrieve](docs/sdks/skills/README.md#retrieve) - Retrieve skill
559561
* [retrieve_content](docs/sdks/skills/README.md#retrieve_content) - Download skill content
560562
* [create_version](docs/sdks/skills/README.md#create_version) - Create skill version

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,4 +808,14 @@ Based on:
808808
### Generated
809809
- [python v0.15.4] .
810810
### Releases
811-
- [PyPI v0.15.4] https://pypi.org/project/glean-api-client/0.15.4 - .
811+
- [PyPI v0.15.4] https://pypi.org/project/glean-api-client/0.15.4 - .
812+
813+
## 2026-07-23 02:47:54
814+
### Changes
815+
Based on:
816+
- OpenAPI Doc
817+
- Speakeasy CLI 1.790.3 (2.918.4) https://github.com/speakeasy-api/speakeasy
818+
### Generated
819+
- [python v0.15.5] .
820+
### Releases
821+
- [PyPI v0.15.5] https://pypi.org/project/glean-api-client/0.15.5 - .
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# PlatformDatasourceFilterInfo
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `datasource` | *str* | :heavy_check_mark: | Stable canonical normalized datasource identifier usable in `POST /api/search` `datasources`.<br/> | jira |
9+
| `filters` | List[[models.PlatformFilterFieldInfo](../models/platformfilterfieldinfo.md)] | :heavy_check_mark: | Common built-in filter fields for this datasource. May be empty. Absence of a public built-in here does not make that field invalid in `POST /api/search`.<br/> | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PlatformFilterFieldInfo
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `field` | *str* | :heavy_check_mark: | Field name usable in the `filters` array for `POST /api/search`. | status |
9+
| `type` | *str* | :heavy_check_mark: | Open field-type string. Current values are `STRING` and `USER`. Clients must tolerate unknown values.<br/> | STRING |
10+
| `operators` | List[[models.PlatformFilterOperator](../models/platformfilteroperator.md)] | :heavy_check_mark: | Supported comparison operators for this field. | |
11+
| `values` | List[*str*] | :heavy_minus_sign: | Bounded, non-exhaustive facet values for this field. Omitted in catalog-only responses. Present as an array, including `[]`, when query-backed discovery executes. An empty array does not imply that no valid value exists.<br/> | |

docs/models/platformfilteroperator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Supported filter operator.
88
from glean.api_client.models import PlatformFilterOperator
99

1010
value = PlatformFilterOperator.EQUALS
11+
12+
# Open enum: unrecognized values are captured as UnrecognizedStr
1113
```
1214

1315

0 commit comments

Comments
 (0)