diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 7de12a5f..4d088d2f 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: 8dc95bfc7e332908fbcd5de1c6c86785 + docChecksum: 18a116fa0026e01d9a1addcdb4a0eb16 docVersion: 0.9.0 speakeasyVersion: 1.796.2 generationVersion: 2.933.0 - releaseVersion: 0.16.1 - configChecksum: c4ea74bb21e39957d292092ac1c8c45c + releaseVersion: 0.16.2 + configChecksum: a7a11b36535e41b352cebf1baf51a08f repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true persistentEdits: - generation_id: c8e57301-015b-43df-a22a-3285d122506c - pristine_commit_hash: 83e1b161fc2b3ee766197cad54d2014a6ee3ced5 - pristine_tree_hash: 3d8bfd051a5a08abe7525dcee07d4b51cffd8a34 + generation_id: a9ae9f72-aa80-42b2-a7c6-80a108646be4 + pristine_commit_hash: 94a8120ced5f78b789b3995f71d75e3b0e961bbd + pristine_tree_hash: 806526f89efcfb70df8cac2915597c728d57954e features: python: acceptHeaders: 3.0.0 @@ -3737,8 +3737,8 @@ trackedFiles: pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:47c4c996133e0a3adbcf155d937d19aa4c5a7d25 - pristine_git_object: 3e07b290191d20adb52b0682dcefceb99e4ffd4c + last_write_checksum: sha1:314627ada5f907dfe762d42b455898682fd017f5 + pristine_git_object: fbc50d459b37c40ead57325817253088c83fffe5 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794 @@ -3765,8 +3765,8 @@ trackedFiles: pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9 src/glean/api_client/_version.py: id: 0ce22b26136b - last_write_checksum: sha1:5a1b915ca864b7c3d74ee1d7dd28515f488953a7 - pristine_git_object: a511f7fd6941269d63893322ef0a654fe236d8a9 + last_write_checksum: sha1:ab9358db14dd6cbe230d10ffe933fdff623479e8 + pristine_git_object: f1e4b67954209b7ce6d8efd4b99e6ad838d786a3 src/glean/api_client/agents.py: id: b925701a9217 last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085 @@ -10745,8 +10745,8 @@ trackedFiles: pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9 tests/test_messages.py: id: be23089b1f8b - last_write_checksum: sha1:5db8087e85104ab50b362638150fa1f6686a3c30 - pristine_git_object: c0fd29dab7d365ef9d78c0c291b925e6b9fd7298 + last_write_checksum: sha1:a91c985cd1d11560059dc448b10e0c7b75ed60e5 + pristine_git_object: dfdc18641f0d6c38d84b4603ad2da71f75f2e13c tests/test_people.py: id: 37c243940039 last_write_checksum: sha1:2b78b1c5ea17f267895188b1b48ff9fe2bc19f17 @@ -10773,8 +10773,8 @@ trackedFiles: pristine_git_object: 63587d5a9e7b7e506ce9daf00d51ce92afb56035 tests/test_summarize.py: id: a255d8a6f627 - last_write_checksum: sha1:6383d6969c6f1bf1832e5ace511e5c2ffaa6d86f - pristine_git_object: cac8e9788f25fda1ff78bd2e3e36917319145e82 + last_write_checksum: sha1:d0245ffca1533446942ac2b0f1109d4f6e9888b4 + pristine_git_object: f9c494d59cc7d73c8b3ea1c965b544c79625198a tests/test_tools.py: id: 70889bdf7321 last_write_checksum: sha1:e9e37efd6a65d805c02d70d548df9c87dd062b0e @@ -12351,7 +12351,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.chat.create()`: \n * `request.messages[].fragments[]` **Changed**\n * `response.messages[].fragments[]` **Changed**\n* `glean.client.chat.retrieve()`: `response.chat_result.chat.messages[].fragments[]` **Changed**\n* `glean.client.chat.create_stream()`: \n * `request.messages[].fragments[]` **Changed**\n* `glean.client.agents.retrieve()`: **Deprecated**\n* `glean.client.agents.retrieve_schemas()`: **Deprecated**\n* `glean.client.agents.list()`: **Deprecated**\n* `glean.client.agents.run_stream()`: **Deprecated**\n* `glean.client.agents.run_stream()`: `error.authentication_suggestions[].request_type.enum(sandbox_egress)` **Added**\n* `glean.client.agents.run()`: **Deprecated**\n* `glean.client.agents.run()`: `error.authentication_suggestions[].request_type.enum(sandbox_egress)` **Added**\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 382692e0..bb813888 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.16.1 + version: 0.16.2 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index a39ee411..f13077c0 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,8 +2,8 @@ openapi: 3.1.0 info: version: "0.9.0" title: Glean API - x-source-commit-sha: 607c4a4291218dcc0edb79494bf20e6ac3362cf9 - x-open-api-commit-sha: efc6383f39292ed5941021d5bd19afeca4e04a38 + x-source-commit-sha: 862fa29b6596610ab353977db068dc0775b41374 + x-open-api-commit-sha: 7da59003472c34503ffb3d3dfbd504f288990ba2 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. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2afa5893..b7a81452 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.2 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:f3a6935819a2bf2e272a785879abcaa920ea4947f5daa04a960e8b6ae06c0e82 - sourceBlobDigest: sha256:622d79294b037df20876ceefda11f2d617b13abdf49b02c046e1a2c0c8a08f45 + sourceRevisionDigest: sha256:faf6216f7af1ea286cda9f5cb3651d558dc113ed8246a5798ada35f1ab2c299b + sourceBlobDigest: sha256:acb7234d6abdf60c49f93ce4c86e1c54458833c9f380dba862e74212a40b626c tags: - latest Glean Client API: @@ -16,10 +16,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:f3a6935819a2bf2e272a785879abcaa920ea4947f5daa04a960e8b6ae06c0e82 - sourceBlobDigest: sha256:622d79294b037df20876ceefda11f2d617b13abdf49b02c046e1a2c0c8a08f45 + sourceRevisionDigest: sha256:faf6216f7af1ea286cda9f5cb3651d558dc113ed8246a5798ada35f1ab2c299b + sourceBlobDigest: sha256:acb7234d6abdf60c49f93ce4c86e1c54458833c9f380dba862e74212a40b626c codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:7dd6050947127e3c5464f973695b3d293d25c2d75dfba720c831f53c08169d25 + codeSamplesRevisionDigest: sha256:f07b79841adb49b0b8983613a84ed0ee45993f4416efcd393b96d344f5eb5c64 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index d042c96f..e13e992b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -838,4 +838,14 @@ Based on: ### Generated - [python v0.16.1] . ### Releases -- [PyPI v0.16.1] https://pypi.org/project/glean-api-client/0.16.1 - . \ No newline at end of file +- [PyPI v0.16.1] https://pypi.org/project/glean-api-client/0.16.1 - . + +## 2026-09-02 03:16:55 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.2 (2.933.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.16.2] . +### Releases +- [PyPI v0.16.2] https://pypi.org/project/glean-api-client/0.16.2 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3e07b290..fbc50d45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "glean-api-client" -version = "0.16.1" +version = "0.16.2" 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 a511f7fd..f1e4b679 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.16.1" +__version__: str = "0.16.2" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.933.0" -__user_agent__: str = "speakeasy-sdk/python 0.16.1 2.933.0 0.9.0 glean-api-client" +__user_agent__: str = "speakeasy-sdk/python 0.16.2 2.933.0 0.9.0 glean-api-client" try: if __package__ is not None: diff --git a/tests/test_messages.py b/tests/test_messages.py index c0fd29da..dfdc1864 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -18,7 +18,7 @@ def test_messages_messages(): res = glean.client.messages.retrieve( id_type=models.IDType.CONVERSATION_ID, id="", - datasource=models.Datasource.SLACK, + datasource=models.Datasource.SLACKENTGRID, timestamp_millis=558834, ) assert res is not None diff --git a/tests/test_summarize.py b/tests/test_summarize.py index cac8e978..f9c494d5 100644 --- a/tests/test_summarize.py +++ b/tests/test_summarize.py @@ -1,6 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" -from glean.api_client import Glean, models +from glean.api_client import Glean import os from tests.test_client import create_test_http_client @@ -18,12 +18,10 @@ def test_summarize_summarize(): res = glean.client.documents.summarize( document_specs=[ { - "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, - "content_id": 602763, + "id": "", }, { - "ugc_type": models.DocumentSpecUgcType1.SHORTCUTS, - "content_id": 602763, + "id": "", }, ] )