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
41 changes: 20 additions & 21 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: fee1a198e1c72b93bc0505c193dde59e
docChecksum: c527c862fa483ecb898fd7e035f77cda
docVersion: 0.9.0
speakeasyVersion: 1.796.4
generationVersion: 2.935.1
releaseVersion: 0.17.9
configChecksum: a00068af819070592158f1be34636469
releaseVersion: 0.17.10
configChecksum: 4b9657f9ec7d6ff02821c0f96977e1b1
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: f08d7f7a-65f4-41de-8fb2-8ddb632e7701
pristine_commit_hash: 47ef156d6fe81763234d6a6fe2445a29115670e6
pristine_tree_hash: 485cb23f121643601091fe74236a8fe0a61a4479
generation_id: b286c805-4eca-4f31-8d9c-d745850b1bc1
pristine_commit_hash: c1d6b26796e1905adca870bd73cb73c7823d2523
pristine_tree_hash: 7979e72764b3ebe63f7ca15ea0aadd2c24d791ba
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -3786,8 +3786,8 @@ trackedFiles:
pristine_git_object: 0aa193b38d7d95cd3301469f9a6ad1260a1b1b51
docs/sdks/people/README.md:
id: ff7b3ee21c2b
last_write_checksum: sha1:044b490ba98c61f47dd97cc055d0347449398fef
pristine_git_object: 7976d51e738b54167c1233ddc7a20585b3d89b8d
last_write_checksum: sha1:055bcf4b5f364d3c578924c557e8a5d02c26fabd
pristine_git_object: df46786ef361d1fcf0c7641560fa3341a80699f0
docs/sdks/pins/README.md:
id: e887aca9ba0f
last_write_checksum: sha1:c11aea840d911395a606a528575fe224c8a6b86a
Expand Down Expand Up @@ -3834,8 +3834,8 @@ trackedFiles:
pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:970ffc37c912f180bf2247c5fe192f4df4d3fc19
pristine_git_object: 42b07f8e0f9825641e64f68386d0669b8c294c17
last_write_checksum: sha1:6028e9526e25a03331d5b41813b85abf37371686
pristine_git_object: 3510591824cea756cde428299fcb694f6402c808
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -3862,8 +3862,8 @@ trackedFiles:
pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:e59e7dd97ddfacfd33e8c163661495b4fa72385f
pristine_git_object: d066a769b2616864d64892185e9bcdf56975fcf9
last_write_checksum: sha1:73dbba5b517e8821251159970b0df53957175852
pristine_git_object: 9300ec129a343a0898f0ce92aac7aca05bfb186c
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085
Expand Down Expand Up @@ -6898,8 +6898,8 @@ trackedFiles:
pristine_git_object: 85e816dc7cea2c95b4e067d756e428be2696d0a4
src/glean/api_client/people.py:
id: e32c03723ded
last_write_checksum: sha1:0bd6e6c6688847e26416f740fe2ab6712038d0b8
pristine_git_object: a1cca36e4375ef148cff9448fce1ca8e73ed5f89
last_write_checksum: sha1:4e51da217edcceb562ed44644153cf537ab919ff
pristine_git_object: 3f64b60ccb43150c6c50117dd54088c75ff660eb
src/glean/api_client/pins.py:
id: 4a37ead65f8a
last_write_checksum: sha1:127d0abf8b7631fa2cd9ed20e4f3a8c93f082e77
Expand Down Expand Up @@ -7450,8 +7450,8 @@ trackedFiles:
pristine_git_object: ab9263d43404e8e6f07af222a3e785aca2fbf35f
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
id: 3fb93a419933
last_write_checksum: sha1:09a57acc1d004a2fff76290b6c25e24471ad333e
pristine_git_object: 469bd6e6ee30bb11661f2a596a4504b75fa07da0
last_write_checksum: sha1:7b2ffc9e36bbfc20c3bc1894f3727f96aa94ac74
pristine_git_object: 75fb8eb70f6913c8f83c2895f5542bee631ffdaf
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
id: 8d9d3abb0c34
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
Expand Down Expand Up @@ -7522,8 +7522,8 @@ trackedFiles:
pristine_git_object: abb763ddc8504b28c0cb6fdf8d25237d46e21bab
tests/mockserver/internal/handler/pathpostrestapiv1getchat.go:
id: a0ec7bafa599
last_write_checksum: sha1:b48e2313407814ee4f8ed181b8e5299a84960c44
pristine_git_object: 96d4127e0455272a9842e2d1954e5fcefa3278cc
last_write_checksum: sha1:2267292ba8173cf8df70ddbc6ac02ff3439cb879
pristine_git_object: 8740195860b6c08e036caae19aab8e7374350960
tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go:
id: 7d101c69d4bc
last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0
Expand Down Expand Up @@ -10994,8 +10994,8 @@ trackedFiles:
pristine_git_object: 63587d5a9e7b7e506ce9daf00d51ce92afb56035
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:e7e9214f8583669b5db38c048f17c49fe1bcc0a2
pristine_git_object: a4e5f87b9e662c320b1b8e64bf9ede7974523a3f
last_write_checksum: sha1:6244d4da1522f443776e78aeb31dd83ebdc90c42
pristine_git_object: 2b5d1f38b094214933fc3b8da79ff8ed979c5122
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:e9e37efd6a65d805c02d70d548df9c87dd062b0e
Expand Down Expand Up @@ -12583,7 +12583,6 @@ generatedTests:
platform-trigger-presets-get: "2026-08-21T02:33:03Z"
platform-trigger-presets-input-values-list: "2026-08-21T02:33:03Z"
platform-trigger-presets-events-search: "2026-08-21T02:33:03Z"
releaseNotes: "## Python SDK Changes:\n* `glean.client.search.retrieve_feed()`: \n * `request.categories[].enum(edit_doc)` **Added**\n * `response.results[]` **Changed**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.17.9
version: 0.17.10
additionalDependencies:
dev: {}
main: {}
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: be488aad3aab1450b2ec01f91d1b5c4d45a10b93
x-open-api-commit-sha: 9a7b8a7874f77833c0aa5a2317b0bfbe54976f03
x-source-commit-sha: 18c1fb95817c54a18b1d105dbbab8dc9af3cf203
x-open-api-commit-sha: 6406463e03468e149f44ae0141fd377ba6e6b2a8
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 Down Expand Up @@ -5628,8 +5628,8 @@ paths:
id: ce596f49-55c4-465e-bf3c-5a3a33906e1f
introduced: "2026-02-03"
message: Endpoint is deprecated
removal: "2026-10-15"
x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated"
removal: "2027-01-15"
x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2027-01-15: Endpoint is deprecated"
x-speakeasy-name-override: bulkIndex
x-speakeasy-group: indexing.people
/api/index/v1/indexemployeelist: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.4
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:198992b0266c8a869691e671fc499bc0a10c7f09b592be5cecf38e17fd297294
sourceBlobDigest: sha256:849b1069b5bbd966ff5d5d37370cae89f5590fb2be9440efe3711640610c199e
sourceRevisionDigest: sha256:337920f23331dccb17c7269db56fd852c9a71d0b8f3241a0eb7939a5b9456a6f
sourceBlobDigest: sha256:95fa8da94370a2218506c461d0ba8da16b6dfeed449ff6d68b1f05e209ee2847
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:198992b0266c8a869691e671fc499bc0a10c7f09b592be5cecf38e17fd297294
sourceBlobDigest: sha256:849b1069b5bbd966ff5d5d37370cae89f5590fb2be9440efe3711640610c199e
sourceRevisionDigest: sha256:337920f23331dccb17c7269db56fd852c9a71d0b8f3241a0eb7939a5b9456a6f
sourceBlobDigest: sha256:95fa8da94370a2218506c461d0ba8da16b6dfeed449ff6d68b1f05e209ee2847
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:424c965ef2d591e3b145927f21752d736805916951dbb612bfcec2ae91ede471
codeSamplesRevisionDigest: sha256:ab7241c500f15d599e46453dc64438246c7c9ffec27b36b5714c75596bf0b640
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 @@ -948,4 +948,14 @@ Based on:
### Generated
- [python v0.17.9] .
### Releases
- [PyPI v0.17.9] https://pypi.org/project/glean-api-client/0.17.9 - .
- [PyPI v0.17.9] https://pypi.org/project/glean-api-client/0.17.9 - .

## 2026-09-09 15:04:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.10] .
### Releases
- [PyPI v0.17.10] https://pypi.org/project/glean-api-client/0.17.10 - .
2 changes: 1 addition & 1 deletion docs/sdks/people/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ with Glean(

Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.

> :warning: **DEPRECATED**: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated.
> :warning: **DEPRECATED**: Deprecated on 2026-02-03, removal scheduled for 2027-01-15: Endpoint is deprecated.

### Example Usage

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "glean-api-client"
version = "0.17.9"
version = "0.17.10"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." },]
readme = "README-PYPI.md"
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-api-client"
__version__: str = "0.17.9"
__version__: str = "0.17.10"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.935.1"
__user_agent__: str = "speakeasy-sdk/python 0.17.9 2.935.1 0.9.0 glean-api-client"
__user_agent__: str = "speakeasy-sdk/python 0.17.10 2.935.1 0.9.0 glean-api-client"

try:
if __package__ is not None:
Expand Down
8 changes: 4 additions & 4 deletions src/glean/api_client/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ async def index_async(
raise errors.GleanError("Unexpected response received", http_res)

@deprecated(
"warning: ** DEPRECATED ** - Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated."
"warning: ** DEPRECATED ** - Deprecated on 2026-02-03, removal scheduled for 2027-01-15: Endpoint is deprecated."
)
def bulk_index(
self,
Expand Down Expand Up @@ -704,7 +704,7 @@ def bulk_index(
"id": "ce596f49-55c4-465e-bf3c-5a3a33906e1f",
"introduced": "2026-02-03",
"message": "Endpoint is deprecated",
"removal": "2026-10-15",
"removal": "2027-01-15",
}
},
),
Expand All @@ -725,7 +725,7 @@ def bulk_index(
raise errors.GleanError("Unexpected response received", http_res)

@deprecated(
"warning: ** DEPRECATED ** - Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated."
"warning: ** DEPRECATED ** - Deprecated on 2026-02-03, removal scheduled for 2027-01-15: Endpoint is deprecated."
)
async def bulk_index_async(
self,
Expand Down Expand Up @@ -823,7 +823,7 @@ async def bulk_index_async(
"id": "ce596f49-55c4-465e-bf3c-5a3a33906e1f",
"introduced": "2026-02-03",
"message": "Endpoint is deprecated",
"removal": "2026-10-15",
"removal": "2027-01-15",
}
},
),
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.

4 changes: 2 additions & 2 deletions tests/test_summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def test_summarize_summarize():
res = glean.client.documents.summarize(
document_specs=[
{
"ugc_type": models.DocumentSpecUgcType2.ANSWERS,
"ugc_type": models.DocumentSpecUgcType2.ARTIFACTS,
"ugc_id": "<id>",
},
{
"url": "https://potable-pine.org",
"id": "<id>",
},
]
)
Expand Down
Loading