Skip to content

Commit 46bea17

Browse files
committed
## Python SDK Changes:
* `glean.client.agents.import()`: `request.published_baseline_hash` **Added** * `glean.client.search.retrieve_feed()`: * `request.categories[].enum(chat_to_artifact)` **Added** * `response.results[]` **Changed**
1 parent 8aed290 commit 46bea17

30 files changed

Lines changed: 205 additions & 117 deletions

‎.speakeasy/gen.lock‎

Lines changed: 61 additions & 60 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.17.13
37+
version: 0.17.14
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

‎.speakeasy/glean-merged-spec.yaml‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ openapi: 3.1.0
22
info:
33
version: "0.9.0"
44
title: Glean API
5-
x-source-commit-sha: 31a8965bc9e49871a44c872a19d7442c25790b41
6-
x-open-api-commit-sha: 50797dafaa6c32f59f7dd18b9a5766b5321fffaa
5+
x-source-commit-sha: a335de34ef80d0160d30540b9393371b6332d43d
6+
x-open-api-commit-sha: 6e52c71ad97bd75b328ee2c222c532df5a55c475
77
description: |
88
# Introduction
99
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -14004,6 +14004,10 @@ components:
1400414004
description: Optional commit message for the imported version.
1400514005
syncMode:
1400614006
$ref: '#/components/schemas/ImportAgentSyncMode'
14007+
publishedBaselineHash:
14008+
type: string
14009+
description: |
14010+
Optional baseline hash of the currently published agent definition. When publish hash validation is enabled, an import updating an existing agent with syncMode PUBLISHED is rejected with HTTP 409 if the current published definition hash is nonempty and does not match this baseline. Leading and trailing whitespace is trimmed; omitted or blank values skip validation. Ignored for STAGED imports, new agents, and transient previews.
1400714011
isDraft:
1400814012
type: boolean
1400914013
description: |
@@ -15666,8 +15670,7 @@ components:
1566615670
description: Filter to only return results of the given type(s). All types may be returned if omitted.
1566715671
resultSize:
1566815672
type: integer
15669-
description: |
15670-
Maximum number of results to be returned. If no value is provided, the backend will cap at 200.
15673+
description: Maximum number of results to be returned. If no value is provided, the backend will cap at 200.
1567115674
example: 10
1567215675
authTokens:
1567315676
type: array
@@ -15935,6 +15938,7 @@ components:
1593515938
- KNOWLEDGE_GAP
1593615939
- ARTIFACT_CREATION
1593715940
- EDIT_DOC
15941+
- CHAT_TO_ARTIFACT
1593815942
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
1593915943
requestOptions:
1594015944
$ref: '#/components/schemas/FeedRequestOptions'
@@ -16408,6 +16412,7 @@ components:
1640816412
- KNOWLEDGE_GAP
1640916413
- ARTIFACT_CREATION
1641016414
- EDIT_DOC
16415+
- CHAT_TO_ARTIFACT
1641116416
description: Type of the justification.
1641216417
justification:
1641316418
type: string
@@ -16504,6 +16509,7 @@ components:
1650416509
- KNOWLEDGE_GAP
1650516510
- ARTIFACT_CREATION
1650616511
- EDIT_DOC
16512+
- CHAT_TO_ARTIFACT
1650716513
description: Category of the result, one of the requested categories in incoming request.
1650816514
primaryEntry:
1650916515
$ref: '#/components/schemas/FeedEntry'

‎.speakeasy/workflow.lock‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.796.4
1+
speakeasyVersion: 1.797.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:09eb059f0216714606cd4c098bf2c97994e46c67ba091ffd108681cf9ae831a5
6-
sourceBlobDigest: sha256:a9418b93b4aaa7cd6d428375e23d233ffca2418e04be1fee988a029e3cb02931
5+
sourceRevisionDigest: sha256:d5827d848e71f67f8f99c9068fbb007626edce588e6b677ff60d3b85d905e60f
6+
sourceBlobDigest: sha256:303662233d5043c4cae45bd2cd11feadb681a781ac72d80f89838601ea542563
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:09eb059f0216714606cd4c098bf2c97994e46c67ba091ffd108681cf9ae831a5
20-
sourceBlobDigest: sha256:a9418b93b4aaa7cd6d428375e23d233ffca2418e04be1fee988a029e3cb02931
19+
sourceRevisionDigest: sha256:d5827d848e71f67f8f99c9068fbb007626edce588e6b677ff60d3b85d905e60f
20+
sourceBlobDigest: sha256:303662233d5043c4cae45bd2cd11feadb681a781ac72d80f89838601ea542563
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:378452df2ea1abfd42848dbaaa791971fea47c98f7845e9b7f313f12da2109f6
22+
codeSamplesRevisionDigest: sha256:8c5d1f764340dfe0cd7a19d9e86e6e208dedf4d1b65931beb46875c67043aa85
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,4 +988,14 @@ Based on:
988988
### Generated
989989
- [python v0.17.13] .
990990
### Releases
991-
- [PyPI v0.17.13] https://pypi.org/project/glean-api-client/0.17.13 - .
991+
- [PyPI v0.17.13] https://pypi.org/project/glean-api-client/0.17.13 - .
992+
993+
## 2026-09-16 23:00:16
994+
### Changes
995+
Based on:
996+
- OpenAPI Doc
997+
- Speakeasy CLI 1.797.0 (2.937.18) https://github.com/speakeasy-api/speakeasy
998+
### Generated
999+
- [python v0.17.14] .
1000+
### Releases
1001+
- [PyPI v0.17.14] https://pypi.org/project/glean-api-client/0.17.14 - .

‎docs/models/autocompleterequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
| `datasources_filter` | List[*str*] | :heavy_minus_sign: | Filter results to only those relevant to one or more datasources (e.g. jira, gdrive). Results are unfiltered if missing. | |
1212
| `datasource` | *Optional[str]* | :heavy_minus_sign: | Filter to only return results relevant to the given datasource. | |
1313
| `result_types` | List[[models.AutocompleteRequestResultType](../models/autocompleterequestresulttype.md)] | :heavy_minus_sign: | Filter to only return results of the given type(s). All types may be returned if omitted. | |
14-
| `result_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of results to be returned. If no value is provided, the backend will cap at 200.<br/> | 10 |
14+
| `result_size` | *Optional[int]* | :heavy_minus_sign: | Maximum number of results to be returned. If no value is provided, the backend will cap at 200. | 10 |
1515
| `auth_tokens` | List[[models.AuthToken](../models/authtoken.md)] | :heavy_minus_sign: | Auth tokens which may be used for federated results. | |

‎docs/models/feedrequestcategory.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ value = FeedRequestCategory.DOCUMENT_SUGGESTION
6262
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
6363
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |
6464
| `ARTIFACT_CREATION` | ARTIFACT_CREATION |
65-
| `EDIT_DOC` | EDIT_DOC |
65+
| `EDIT_DOC` | EDIT_DOC |
66+
| `CHAT_TO_ARTIFACT` | CHAT_TO_ARTIFACT |

‎docs/models/feedresultcategory.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ value = FeedResultCategory.DOCUMENT_SUGGESTION
6666
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
6767
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |
6868
| `ARTIFACT_CREATION` | ARTIFACT_CREATION |
69-
| `EDIT_DOC` | EDIT_DOC |
69+
| `EDIT_DOC` | EDIT_DOC |
70+
| `CHAT_TO_ARTIFACT` | CHAT_TO_ARTIFACT |

0 commit comments

Comments
 (0)