From 961988dc34c1a922c29376c9fc9c3bdc4fabb3ca Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Nov 2025 01:44:38 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.650.0 --- .speakeasy/gen.lock | 6 +++--- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 4 ++-- .speakeasy/workflow.lock | 12 +++++------ .speakeasy/workflow.yaml | 1 - RELEASES.md | 12 ++++++++++- pyproject.toml | 2 +- src/glean/api_client/_version.py | 4 ++-- .../pathpostrestapiv1createcollection.go | 20 +++++++++---------- 9 files changed, 36 insertions(+), 27 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5654fc60..5af23def 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3e3290ca-0ee8-4981-b1bc-14536048fa63 management: - docChecksum: 648d674fdd05aad794f8dd9965d820b5 + docChecksum: a85a38d78a08ed519c75e0eadfd097f5 docVersion: 0.9.0 speakeasyVersion: 1.650.0 generationVersion: 2.743.2 - releaseVersion: 0.11.14 - configChecksum: ceccdd78049847212e98f17e1f761752 + releaseVersion: 0.11.16 + configChecksum: 8f3025db067290e02de69c0e74482958 repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 350797d3..0240c65a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.11.14 + version: 0.11.16 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index e9d8fb95..72cd45e2 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: version: 0.9.0 title: Glean API - x-source-commit-sha: 3c1d4f5f7b2de021e7e5ab5dff962254c16aa5db + x-source-commit-sha: ac49a97a43fc5f3ece175c3bca78ebaed3fe21cf 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. @@ -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: b20a53af8a9aee1fd48c351fe14b4b12c8eefd12 + x-open-api-commit-sha: 2a21c922065b38b1e7cdfcfa044e78801ea8e8db x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ec305e05..5b6a5528 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97 - sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0 + sourceRevisionDigest: sha256:ec119e8cba4f3e7c01538e6ecc680499e2c22e79fdd8a95e1107dbbafea3d38c + sourceBlobDigest: sha256:d753b0052ad380cb35f6e9094b23049f5a995958c1fd20805a50079179887d23 tags: - latest - - speakeasy-sdk-regen-1763167768 + - speakeasy-sdk-regen-1763415084 Glean Client API: sourceNamespace: glean-client-api sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2 @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97 - sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0 + sourceRevisionDigest: sha256:ec119e8cba4f3e7c01538e6ecc680499e2c22e79fdd8a95e1107dbbafea3d38c + sourceBlobDigest: sha256:d753b0052ad380cb35f6e9094b23049f5a995958c1fd20805a50079179887d23 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:b3fef6598b035770b97aec02d552dcc779a69b61bee9d07e0943d125588eaa14 + codeSamplesRevisionDigest: sha256:249058338673fc555a3a1a8fe9b674de7e55857120a2c97efff51cd3162ffa1d workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index c205bfca..79eee6b6 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -12,7 +12,6 @@ targets: publish: pypi: token: $pypi_token - packageName: glean-api-client codeSamples: registry: location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs-python-code-samples diff --git a/RELEASES.md b/RELEASES.md index eff6c7d9..8b419a82 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -408,4 +408,14 @@ Based on: ### Generated - [python v0.11.14] . ### Releases -- [PyPI v0.11.14] https://pypi.org/project/glean/0.11.14 - . \ No newline at end of file +- [PyPI v0.11.14] https://pypi.org/project/glean/0.11.14 - . + +## 2025-11-18 01:39:37 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.11.16] . +### Releases +- [PyPI v0.11.16] https://pypi.org/project/glean/0.11.16 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3402c23a..b461f4d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "glean-api-client" -version = "0.11.14" +version = "0.11.16" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Glean Technologies, Inc." }] license = "MIT" diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index becaf6b4..ca373323 100644 --- a/src/glean/api_client/_version.py +++ b/src/glean/api_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "glean" -__version__: str = "0.11.14" +__version__: str = "0.11.16" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.743.2" -__user_agent__: str = "speakeasy-sdk/python 0.11.14 2.743.2 0.9.0 glean" +__user_agent__: str = "speakeasy-sdk/python 0.11.16 2.743.2 0.9.0 glean" try: if __package__ is not None: diff --git a/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go b/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go index 5c99a0ad..371b9023 100644 --- a/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go +++ b/tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go @@ -56,14 +56,14 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ operations.ResponseBody2{ Collection: &components.Collection{ Name: "", - Description: "motionless whenever paintwork import over cuckoo", + Description: "whole busily jive hawk gee basic minus hence", AddedRoles: []components.UserRoleSpecification{ components.UserRoleSpecification{ Person: &components.Person{ Name: "George Clooney", ObfuscatedID: "abc123", }, - Role: components.UserRoleOwner, + Role: components.UserRoleAnswerModerator, }, }, RemovedRoles: []components.UserRoleSpecification{ @@ -90,7 +90,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ }, }, }, - ID: 363711, + ID: 158969, Creator: &components.Person{ Name: "George Clooney", ObfuscatedID: "abc123", @@ -101,7 +101,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ }, Items: []components.CollectionItem{ components.CollectionItem{ - CollectionID: 570197, + CollectionID: 110375, CreatedBy: &components.Person{ Name: "George Clooney", ObfuscatedID: "abc123", @@ -266,13 +266,13 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ Name: "George Clooney", ObfuscatedID: "abc123", }, - Role: components.UserRoleAnswerModerator, + Role: components.UserRoleEditor, }, }, }, Collection: &components.Collection{ Name: "", - Description: "athwart skateboard newsstand farm bourgeoisie ah how elliptical aha well-to-do", + Description: "wedge colorfully orientate rally", AudienceFilters: []components.FacetFilter{ components.FacetFilter{ FieldName: types.String("type"), @@ -288,7 +288,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ }, }, }, - ID: 643990, + ID: 131797, Creator: &components.Person{ Name: "George Clooney", ObfuscatedID: "abc123", @@ -300,7 +300,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ Children: []components.Collection{ components.Collection{ Name: "", - Description: "woot purse salty even as advanced", + Description: "outside yippee sidetrack mature regularly mouser inject worth", AudienceFilters: []components.FacetFilter{ components.FacetFilter{ FieldName: types.String("type"), @@ -316,7 +316,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ }, }, }, - ID: 359978, + ID: 149448, Creator: &components.Person{ Name: "George Clooney", ObfuscatedID: "abc123", @@ -328,7 +328,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ }, }, }, - ItemType: components.CollectionItemItemTypeURL, + ItemType: components.CollectionItemItemTypeCollection, }, }, }, From 4594e02e2d878333e953981f728900eb4cc16cab Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 01:44:47 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow