Skip to content

Commit 730710b

Browse files
committed
## Python SDK Changes:
* `glean.indexing.people.bulk_index()`: **Deprecated**
1 parent 128c3ef commit 730710b

File tree

126 files changed

+1506
-467
lines changed

Some content is hidden

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

126 files changed

+1506
-467
lines changed

.speakeasy/gen.lock

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

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ generation:
1717
securityFeb2025: true
1818
sharedErrorComponentsApr2025: true
1919
sharedNestedComponentsJan2026: false
20+
nameOverrideFeb2026: false
2021
auth:
2122
oAuth2ClientCredentialsEnabled: false
2223
oAuth2PasswordEnabled: false
@@ -33,7 +34,7 @@ generation:
3334
generateNewTests: true
3435
skipResponseBodyAssertions: true
3536
python:
36-
version: 0.12.8
37+
version: 0.12.9
3738
additionalDependencies:
3839
dev: {}
3940
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 56c08697ca3b6869022a262114e61f1385914425
5+
x-source-commit-sha: 6b06411e8986ec282b51fd46a5fe05f6aef272a8
66
description: |
77
# Introduction
88
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.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: daa8736a6f0763faffd2c1079da8a42345536ed7
25+
x-open-api-commit-sha: 0cd3f8f670cbc90130adaf8103f32803dd460962
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -3122,6 +3122,13 @@ paths:
31223122
description: Not Authorized
31233123
"409":
31243124
description: Conflict
3125+
deprecated: true
3126+
x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated"
3127+
x-glean-deprecated:
3128+
id: ce596f49-55c4-465e-bf3c-5a3a33906e1f
3129+
introduced: "2026-02-03"
3130+
message: Endpoint is deprecated
3131+
removal: "2026-10-15"
31253132
x-speakeasy-name-override: bulkIndex
31263133
x-speakeasy-group: indexing.people
31273134
/api/index/v1/indexemployeelist: {}
@@ -6547,16 +6554,34 @@ components:
65476554
deprecated: true
65486555
description: The person that invited this person.
65496556
$ref: "#/components/schemas/Person"
6557+
x-glean-deprecated:
6558+
id: 1d3cd23f-9085-4378-b466-9bdc2e344a71
6559+
introduced: "2026-02-05"
6560+
message: Use ChannelInviteInfo instead
6561+
removal: "2026-10-15"
6562+
x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead"
65506563
inviteTime:
65516564
deprecated: true
65526565
type: string
65536566
format: date-time
65546567
description: The time this person was invited in ISO format (ISO 8601).
6568+
x-glean-deprecated:
6569+
id: 2dc3f572-cded-483d-af07-fc9fc7fd0ae4
6570+
introduced: "2026-02-05"
6571+
message: Use ChannelInviteInfo instead
6572+
removal: "2026-10-15"
6573+
x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead"
65556574
reminderTime:
65566575
deprecated: true
65576576
type: string
65586577
format: date-time
65596578
description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent.
6579+
x-glean-deprecated:
6580+
id: d02d58cf-eb90-45d0-ab90-f7a9d707ae3c
6581+
introduced: "2026-02-05"
6582+
message: Use ChannelInviteInfo instead
6583+
removal: "2026-10-15"
6584+
x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead"
65606585
ReadPermission:
65616586
description: Describes the read permission level that a user has for a specific feature
65626587
properties:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.722.7
1+
speakeasyVersion: 1.725.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8b912e61e9727548c1e231c33a1cab5988630896d3c81639fe9b2961c8656d94
6-
sourceBlobDigest: sha256:079082f8fabe8221e1d14af242c72c22efa7be6626969593ccebcd74d19c3c80
5+
sourceRevisionDigest: sha256:7a00b339a5e3b34621ca43e0c1ad47421afc5c61af992d0c781e1037f86ca0e0
6+
sourceBlobDigest: sha256:61917939a100d8b19ccdcb2824854a3104bce7291f99157d05a8536a474e9d9a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1771525162
9+
- speakeasy-sdk-regen-1771639536
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:8b912e61e9727548c1e231c33a1cab5988630896d3c81639fe9b2961c8656d94
21-
sourceBlobDigest: sha256:079082f8fabe8221e1d14af242c72c22efa7be6626969593ccebcd74d19c3c80
20+
sourceRevisionDigest: sha256:7a00b339a5e3b34621ca43e0c1ad47421afc5c61af992d0c781e1037f86ca0e0
21+
sourceBlobDigest: sha256:61917939a100d8b19ccdcb2824854a3104bce7291f99157d05a8536a474e9d9a
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:07c1eebc0272335ffeb2b98c0b094c73bfefcf74858173515c00c683b16702f6
23+
codeSamplesRevisionDigest: sha256:f3c1d30cc6c2df5726851a92f9483fb45eae6fd0e65f2f1cb8648c9fb99e894e
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ For more information on obtaining the appropriate token type, please contact you
512512

513513
* [~~count~~](docs/sdks/people/README.md#count) - Get user count :warning: **Deprecated**
514514
* [index](docs/sdks/people/README.md#index) - Index employee
515-
* [bulk_index](docs/sdks/people/README.md#bulk_index) - Bulk index employees
515+
* [~~bulk_index~~](docs/sdks/people/README.md#bulk_index) - Bulk index employees :warning: **Deprecated**
516516
* [process_all_employees_and_teams](docs/sdks/people/README.md#process_all_employees_and_teams) - Schedules the processing of uploaded employees and teams
517517
* [delete](docs/sdks/people/README.md#delete) - Delete employee
518518
* [index_team](docs/sdks/people/README.md#index_team) - Index team

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,4 +588,14 @@ Based on:
588588
### Generated
589589
- [python v0.12.8] .
590590
### Releases
591-
- [PyPI v0.12.8] https://pypi.org/project/glean-api-client/0.12.8 - .
591+
- [PyPI v0.12.8] https://pypi.org/project/glean-api-client/0.12.8 - .
592+
593+
## 2026-02-23 18:11:43
594+
### Changes
595+
Based on:
596+
- OpenAPI Doc
597+
- Speakeasy CLI 1.725.0 (2.836.5) https://github.com/speakeasy-api/speakeasy
598+
### Generated
599+
- [python v0.12.9] .
600+
### Releases
601+
- [PyPI v0.12.9] https://pypi.org/project/glean-api-client/0.12.9 - .

docs/models/inviteinfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Information regarding the invite status of a person.
1010
| `sign_up_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The time this person signed up in ISO format (ISO 8601). | |
1111
| `invites` | List[[models.ChannelInviteInfo](../models/channelinviteinfo.md)] | :heavy_minus_sign: | Latest invites received by the user for each channel | |
1212
| `inviter` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
13-
| ~~`invite_time`~~ | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>The time this person was invited in ISO format (ISO 8601). | |
14-
| ~~`reminder_time`~~ | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. | |
13+
| ~~`invite_time`~~ | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead.<br/><br/>The time this person was invited in ISO format (ISO 8601). | |
14+
| ~~`reminder_time`~~ | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead.<br/><br/>The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. | |

docs/sdks/people/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
* [~~count~~](#count) - Get user count :warning: **Deprecated**
1010
* [index](#index) - Index employee
11-
* [bulk_index](#bulk_index) - Bulk index employees
11+
* [~~bulk_index~~](#bulk_index) - Bulk index employees :warning: **Deprecated**
1212
* [process_all_employees_and_teams](#process_all_employees_and_teams) - Schedules the processing of uploaded employees and teams
1313
* [delete](#delete) - Delete employee
1414
* [index_team](#index_team) - Index team
@@ -149,10 +149,12 @@ with Glean(
149149
| ----------------- | ----------------- | ----------------- |
150150
| errors.GleanError | 4XX, 5XX | \*/\* |
151151

152-
## bulk_index
152+
## ~~bulk_index~~
153153

154154
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.
155155

156+
> :warning: **DEPRECATED**: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated.
157+
156158
### Example Usage
157159

158160
<!-- UsageSnippet language="python" operationID="post_/api/index/v1/bulkindexemployees" method="post" path="/api/index/v1/bulkindexemployees" -->

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "glean-api-client"
4-
version = "0.12.8"
4+
version = "0.12.9"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Glean Technologies, Inc." },]
77
readme = "README-PYPI.md"

src/glean/api_client/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "glean-api-client"
6-
__version__: str = "0.12.8"
6+
__version__: str = "0.12.9"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.832.9"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.8 2.832.9 0.9.0 glean-api-client"
8+
__gen_version__: str = "2.836.5"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.9 2.836.5 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)