Skip to content

Commit efb1586

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.629.1
1 parent dd73adc commit efb1586

File tree

10 files changed

+73
-35
lines changed

10 files changed

+73
-35
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 11234d282481d3710e009ee7857573b0
4+
docChecksum: 3d9b42ee74b8da491f0f3636cb9c47dc
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.628.2
7-
generationVersion: 2.716.3
8-
releaseVersion: 0.8.1
9-
configChecksum: e18f0607a86d7edb15c7ab3679dee60e
6+
speakeasyVersion: 1.629.1
7+
generationVersion: 2.716.10
8+
releaseVersion: 0.8.2
9+
configChecksum: b023c24d50153b70f4b6366666fdba29
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
@@ -2702,6 +2702,3 @@ generatedTests:
27022702
editcollection: "2025-06-12T19:13:52-04:00"
27032703
createshortcut: "2025-06-12T19:13:52-04:00"
27042704
updateshortcut: "2025-06-12T19:13:52-04:00"
2705-
releaseNotes: |
2706-
## Python SDK Changes Detected:
2707-
* `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.digest.sections.[].channel_type` **Added**

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: true
2828
skipResponseBodyAssertions: true
2929
python:
30-
version: 0.8.1
30+
version: 0.8.2
3131
additionalDependencies:
3232
dev: {}
3333
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3190,6 +3190,7 @@ paths:
31903190
description: Conflict
31913191
x-speakeasy-name-override: upload
31923192
x-speakeasy-group: indexing.shortcuts
3193+
/api/index/v1/debug/{datasource}/document/events: {}
31933194
/rest/api/v1/governance/data/policies/{id}:
31943195
get:
31953196
description: Fetches the specified policy version, or the latest if no version is provided.
@@ -11678,6 +11679,38 @@ components:
1167811679
- NOT_UPLOADED
1167911680
- STATUS_UNKNOWN
1168011681
example: UPLOADED
11682+
DebugDocumentLifecycleRequest:
11683+
type: object
11684+
description: Describes the request body of the /debug/{datasource}/document/events API call.
11685+
properties:
11686+
objectType:
11687+
type: string
11688+
description: Object type of the document to get lifecycle events for.
11689+
example: Article
11690+
docId:
11691+
type: string
11692+
description: Glean Document ID within the datasource to get lifecycle events for.
11693+
example: art123
11694+
startDate:
11695+
type: string
11696+
description: The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past.
11697+
example: "2025-05-01"
11698+
maxEvents:
11699+
type: integer
11700+
description: Max number of events to be fetched. Cannot be more than 100 (default 20).
11701+
example: 50
11702+
required:
11703+
- objectType
11704+
- docId
11705+
DebugDocumentLifecycleResponse:
11706+
type: object
11707+
description: Describes the response body of the /debug/{datasource}/document/events API call
11708+
properties:
11709+
lifeCycleEvents:
11710+
type: array
11711+
description: List of lifecycle events corresponding to the document
11712+
items:
11713+
$ref: "#/components/schemas/LifeCycleEvent"
1168111714
PropertyDefinition:
1168211715
properties:
1168311716
name:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.628.2
1+
speakeasyVersion: 1.629.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:3dba87a7b61abaf1f2a6b645c2c9d1c5d79481f48ff3d57b2f1a864b8c8aa02f
6-
sourceBlobDigest: sha256:49403d59f8446958ed5e813bbf322fda12ae91ed0991975bb0f24de0a189f74e
5+
sourceRevisionDigest: sha256:bcf6e4a3d58d0f98b0c9f8ce7b99fc5469583b5a7ebf3659c6bdf8fc4692eeba
6+
sourceBlobDigest: sha256:ac67c38e4b462c00027dcb17930e90e3c66de3884d5a0607d42dd80dcd44cf54
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758790482
9+
- speakeasy-sdk-regen-1758835054
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:3dba87a7b61abaf1f2a6b645c2c9d1c5d79481f48ff3d57b2f1a864b8c8aa02f
21-
sourceBlobDigest: sha256:49403d59f8446958ed5e813bbf322fda12ae91ed0991975bb0f24de0a189f74e
20+
sourceRevisionDigest: sha256:bcf6e4a3d58d0f98b0c9f8ce7b99fc5469583b5a7ebf3659c6bdf8fc4692eeba
21+
sourceBlobDigest: sha256:ac67c38e4b462c00027dcb17930e90e3c66de3884d5a0607d42dd80dcd44cf54
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:f2603f30ecbb58faccb490a39011e91f26cad10f137200df87cd2348bb82fe6a
23+
codeSamplesRevisionDigest: sha256:afd288e85b2805c657e8821b412d47ead1994c28b4d44d42885cb184d481e11c
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,14 @@ Based on:
228228
### Generated
229229
- [python v0.8.1] .
230230
### Releases
231-
- [PyPI v0.8.1] https://pypi.org/project/glean/0.8.1 - .
231+
- [PyPI v0.8.1] https://pypi.org/project/glean/0.8.1 - .
232+
233+
## 2025-09-26 01:01:40
234+
### Changes
235+
Based on:
236+
- OpenAPI Doc
237+
- Speakeasy CLI 1.629.1 (2.716.10) https://github.com/speakeasy-api/speakeasy
238+
### Generated
239+
- [python v0.8.2] .
240+
### Releases
241+
- [PyPI v0.8.2] https://pypi.org/project/glean/0.8.2 - .

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ additional-builtins=
642642
allow-global-unused-variables=yes
643643

644644
# List of names allowed to shadow builtins
645-
allowed-redefined-builtins=id,object
645+
allowed-redefined-builtins=id,object,input
646646

647647
# List of strings which can identify a callback function by name. A callback
648648
# name must start or end with one of those strings.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "glean-api-client"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Glean Technologies, Inc." }]
66
license = "MIT"

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"
6-
__version__: str = "0.8.1"
6+
__version__: str = "0.8.2"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.716.3"
9-
__user_agent__: str = "speakeasy-sdk/python 0.8.1 2.716.3 0.9.0 glean"
8+
__gen_version__: str = "2.716.10"
9+
__user_agent__: str = "speakeasy-sdk/python 0.8.2 2.716.10 0.9.0 glean"
1010

1111
try:
1212
if __package__ is not None:

src/glean/api_client/agents.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def run_stream(
530530
self,
531531
*,
532532
agent_id: str,
533-
input_: Optional[Dict[str, Any]] = None,
533+
input: Optional[Dict[str, Any]] = None,
534534
messages: Optional[
535535
Union[List[models.Message], List[models.MessageTypedDict]]
536536
] = None,
@@ -565,7 +565,7 @@ def run_stream(
565565

566566
request = models.AgentRunCreate(
567567
agent_id=agent_id,
568-
input=input_,
568+
input=input,
569569
messages=utils.get_pydantic_model(messages, Optional[List[models.Message]]),
570570
metadata=metadata,
571571
)
@@ -629,7 +629,7 @@ async def run_stream_async(
629629
self,
630630
*,
631631
agent_id: str,
632-
input_: Optional[Dict[str, Any]] = None,
632+
input: Optional[Dict[str, Any]] = None,
633633
messages: Optional[
634634
Union[List[models.Message], List[models.MessageTypedDict]]
635635
] = None,
@@ -664,7 +664,7 @@ async def run_stream_async(
664664

665665
request = models.AgentRunCreate(
666666
agent_id=agent_id,
667-
input=input_,
667+
input=input,
668668
messages=utils.get_pydantic_model(messages, Optional[List[models.Message]]),
669669
metadata=metadata,
670670
)
@@ -728,7 +728,7 @@ def run(
728728
self,
729729
*,
730730
agent_id: str,
731-
input_: Optional[Dict[str, Any]] = None,
731+
input: Optional[Dict[str, Any]] = None,
732732
messages: Optional[
733733
Union[List[models.Message], List[models.MessageTypedDict]]
734734
] = None,
@@ -763,7 +763,7 @@ def run(
763763

764764
request = models.AgentRunCreate(
765765
agent_id=agent_id,
766-
input=input_,
766+
input=input,
767767
messages=utils.get_pydantic_model(messages, Optional[List[models.Message]]),
768768
metadata=metadata,
769769
)
@@ -827,7 +827,7 @@ async def run_async(
827827
self,
828828
*,
829829
agent_id: str,
830-
input_: Optional[Dict[str, Any]] = None,
830+
input: Optional[Dict[str, Any]] = None,
831831
messages: Optional[
832832
Union[List[models.Message], List[models.MessageTypedDict]]
833833
] = None,
@@ -862,7 +862,7 @@ async def run_async(
862862

863863
request = models.AgentRunCreate(
864864
agent_id=agent_id,
865-
input=input_,
865+
input=input,
866866
messages=utils.get_pydantic_model(messages, Optional[List[models.Message]]),
867867
metadata=metadata,
868868
)

tests/test_summarize.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

3-
from glean.api_client import Glean, models
3+
from glean.api_client import Glean
44
import os
55
from tests.test_client import create_test_http_client
66

@@ -18,12 +18,10 @@ def test_summarize_summarize():
1818
res = glean.client.documents.summarize(
1919
document_specs=[
2020
{
21-
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
22-
"content_id": 602763,
21+
"url": "https://dim-glider.com/",
2322
},
2423
{
25-
"ugc_type": models.DocumentSpecUgcType1.SHORTCUTS,
26-
"content_id": 602763,
24+
"id": "<id>",
2725
},
2826
]
2927
)

0 commit comments

Comments
 (0)