Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 2dcefd4e1803d98e97ba5e2c1b4b7b06
docChecksum: 648d674fdd05aad794f8dd9965d820b5
docVersion: 0.9.0
speakeasyVersion: 1.650.0
generationVersion: 2.743.2
releaseVersion: 0.11.12
configChecksum: 7941039f0518afe3bb105c684232260d
releaseVersion: 0.11.14
configChecksum: ceccdd78049847212e98f17e1f761752
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.12
version: 0.11.14
additionalDependencies:
dev: {}
main: {}
Expand Down
7 changes: 4 additions & 3 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 8f565e6072898e4f6fca86fa97978efc4ea33975
x-source-commit-sha: 3c1d4f5f7b2de021e7e5ab5dff962254c16aa5db
description: |
# Introduction
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.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 82065b6c142bd74beb1f8c2e670ac7dd81e45ebd
x-open-api-commit-sha: b20a53af8a9aee1fd48c351fe14b4b12c8eefd12
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -11240,7 +11240,8 @@ components:
The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'
id:
type: string
description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
description: |
The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025
summary:
$ref: "#/components/schemas/ContentDefinition"
body:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
tags:
- latest
- speakeasy-sdk-regen-1763156875
- speakeasy-sdk-regen-1763167768
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:9a224cc91f138da2d105f51f3996008ae0bc5c34a4276b0aa4cabd1f6a57c28d
codeSamplesRevisionDigest: sha256:b3fef6598b035770b97aec02d552dcc779a69b61bee9d07e0943d125588eaa14
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,4 +398,14 @@ Based on:
### Generated
- [python v0.11.12] .
### Releases
- [PyPI v0.11.12] https://pypi.org/project/glean/0.11.12 - .
- [PyPI v0.11.12] https://pypi.org/project/glean/0.11.12 - .

## 2025-11-17 11:23:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.14] .
### Releases
- [PyPI v0.11.14] https://pypi.org/project/glean/0.11.14 - .
2 changes: 1 addition & 1 deletion docs/models/documentdefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Indexable document structure
| `datasource` | *str* | :heavy_check_mark: | N/A |
| `object_type` | *Optional[str]* | :heavy_minus_sign: | The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ |
| `view_url` | *Optional[str]* | :heavy_minus_sign: | The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'<br/> |
| `id` | *Optional[str]* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. |
| `id` | *Optional[str]* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025<br/> |
| `summary` | [Optional[models.ContentDefinition]](../models/contentdefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
| `body` | [Optional[models.ContentDefinition]](../models/contentdefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
| `author` | [Optional[models.UserReferenceDefinition]](../models/userreferencedefinition.md) | :heavy_minus_sign: | Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "glean-api-client"
version = "0.11.12"
version = "0.11.14"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/glean/api_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "glean"
__version__: str = "0.11.12"
__version__: str = "0.11.14"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.743.2"
__user_agent__: str = "speakeasy-sdk/python 0.11.12 2.743.2 0.9.0 glean"
__user_agent__: str = "speakeasy-sdk/python 0.11.14 2.743.2 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
8 changes: 6 additions & 2 deletions src/glean/api_client/models/documentdefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ class DocumentDefinitionTypedDict(TypedDict):

"""
id: NotRequired[str]
r"""The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length."""
r"""The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025

"""
summary: NotRequired[ContentDefinitionTypedDict]
r"""Describes text content or base64 encoded binary content"""
body: NotRequired[ContentDefinitionTypedDict]
Expand Down Expand Up @@ -106,7 +108,9 @@ class DocumentDefinition(BaseModel):
"""

id: Optional[str] = None
r"""The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length."""
r"""The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025

"""

summary: Optional[ContentDefinition] = None
r"""Describes text content or base64 encoded binary content"""
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading