diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index e8fc2b66..77c08d4d 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 3e3290ca-0ee8-4981-b1bc-14536048fa63 management: - docChecksum: 4cf274e3f4a0c5f15de24e502bd1503d + docChecksum: 80548a2e50a9d6a392656d02cbb431f0 docVersion: 0.9.0 - speakeasyVersion: 1.755.0 + speakeasyVersion: 1.755.1 generationVersion: 2.865.2 - releaseVersion: 0.12.11 - configChecksum: 10c7013b3e04e5c6890f35b65d8f197e + releaseVersion: 0.12.12 + configChecksum: 4d80f18a48c41f2166cf46b8134c189e repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: 6d77fa1e-942e-4fdc-bd90-c4e4abe39628 - pristine_commit_hash: e15288b99168081a903852d42130d8ff8b6634fb - pristine_tree_hash: 13714ba5204c7c8b970dda2bdc59cb58148238c4 + generation_id: 5feaa28c-240d-4603-9a0b-11e261261b3b + pristine_commit_hash: b0047ffdd4b9d129b6aa13fab15eafda8169c390 + pristine_tree_hash: c3ce38b43d72714d7ea75acc928976c99d800562 features: python: additionalDependencies: 1.0.0 @@ -2771,8 +2771,8 @@ trackedFiles: pristine_git_object: e2fda7fe263c2a111e53872e3ad5bc324b4dccfe pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:dfeb75cce7abb76b1f0018ade39fdaf8a927b7e4 - pristine_git_object: c9893d8111d3742202772f20e8471fc378386547 + last_write_checksum: sha1:3a4b0cf53e350b6e7546832d8d53ab9ad8d372bd + pristine_git_object: 519f26e9108bb7db1de4e3b06e3e956f5f460372 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -2799,8 +2799,8 @@ trackedFiles: pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:f5be03fdca581b8b9457766af164aed87132fa3c - pristine_git_object: 0f2399a6877b759872010407a513eea216c9e72f + last_write_checksum: sha1:3887223fb7447f7f0d5e0e6d8a26782c953326f9 + pristine_git_object: a5916b9034a96e88522d490833b2c028e18cb17a src/glean/api_client/agents.py: id: b925701a9217 last_write_checksum: sha1:ee99ae3d58f7f77ac2eba99c104d04d53c16c09c @@ -6591,8 +6591,8 @@ trackedFiles: pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99 tests/test_summarize.py: id: a255d8a6f627 - last_write_checksum: sha1:e95637837558aebd7cce24df0457f7825fba3592 - pristine_git_object: 5200573817a710a1fab52e90d50f180aa1850b62 + last_write_checksum: sha1:8880f40a7c62cc87c1eed2b5180893c13ea021b3 + pristine_git_object: 8763da581da72f8aefe52080dd2fd95c5cbf3aa3 tests/test_tools.py: id: 70889bdf7321 last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995 @@ -7520,7 +7520,6 @@ generatedTests: checkdatasourceauth: "2026-02-19T15:48:52Z" getDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z" updateDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z" -releaseNotes: "## Python SDK Changes:\n* `glean.client.chat.create()`: `response.chat` **Added**\n* `glean.client.search.retrieve_feed()`: \n * `request.categories[]` **Changed**\n * `response.results[]` **Changed**\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index c0bdb232..0276f9ef 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.12.11 + version: 0.12.12 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 4181bc81..eb37f8fc 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: 7a7b088ee2579f06e8c75700cf68d3021ff77c5f + x-source-commit-sha: 6b660e03c4bbab898ce5b702b838752054fd8bee 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: b44ae5cd8ae20dd697ad17378df510a0c3f6d340 + x-open-api-commit-sha: 5200df2ebea09dd3da02c3dd2ac42f3a7f6dd993 x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 18966ca7..4a918700 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.755.0 +speakeasyVersion: 1.755.1 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:db4d1b0e0b2d0d7f2a68642d8f04dd9235db9277c46ea9ae836bb9e3ff77b732 - sourceBlobDigest: sha256:40e4b60b39db239ee858446a99a1816379c1b7dc19397d3947bd27588a5a3e8d + sourceRevisionDigest: sha256:9a5eeaa82d7740b6764d9b74e10217b9bc7282704b0b17e2ddab8f6925cb1755 + sourceBlobDigest: sha256:1f0aab3c3c530460eebfbaccbd0d875e36074178eb1590e239ed3a0b6074bad6 tags: - latest Glean Client API: @@ -16,10 +16,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:db4d1b0e0b2d0d7f2a68642d8f04dd9235db9277c46ea9ae836bb9e3ff77b732 - sourceBlobDigest: sha256:40e4b60b39db239ee858446a99a1816379c1b7dc19397d3947bd27588a5a3e8d + sourceRevisionDigest: sha256:9a5eeaa82d7740b6764d9b74e10217b9bc7282704b0b17e2ddab8f6925cb1755 + sourceBlobDigest: sha256:1f0aab3c3c530460eebfbaccbd0d875e36074178eb1590e239ed3a0b6074bad6 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:f4615b6dd347d241e08a8623565822a3000c595656b93a0b0b374f359e7693b6 + codeSamplesRevisionDigest: sha256:8202ac5530cb2040803ef3afe45c54133e6d97abca55ab7c9d59e3a4c84bbc8c workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 228aebd5..d18eaa37 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -618,4 +618,14 @@ Based on: ### Generated - [python v0.12.11] . ### Releases -- [PyPI v0.12.11] https://pypi.org/project/glean-api-client/0.12.11 - . \ No newline at end of file +- [PyPI v0.12.11] https://pypi.org/project/glean-api-client/0.12.11 - . + +## 2026-03-17 02:12:41 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.755.1 (2.865.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.12.12] . +### Releases +- [PyPI v0.12.12] https://pypi.org/project/glean-api-client/0.12.12 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c9893d81..519f26e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.12.11" +version = "0.12.12" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Glean Technologies, Inc." },] readme = "README-PYPI.md" diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index 0f2399a6..a5916b90 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-api-client" -__version__: str = "0.12.11" +__version__: str = "0.12.12" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.865.2" -__user_agent__: str = "speakeasy-sdk/python 0.12.11 2.865.2 0.9.0 glean-api-client" +__user_agent__: str = "speakeasy-sdk/python 0.12.12 2.865.2 0.9.0 glean-api-client" try: if __package__ is not None: diff --git a/tests/test_summarize.py b/tests/test_summarize.py index 52005738..8763da58 100644 --- a/tests/test_summarize.py +++ b/tests/test_summarize.py @@ -18,11 +18,11 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "ugc_type": models.DocumentSpecUgcType2.COLLECTIONS, - "ugc_id": "", + "ugc_type": models.DocumentSpecUgcType1.COLLECTIONS, + "content_id": 993975, }, { - "url": "https://necessary-dandelion.net", + "id": "", }, ] )