Skip to content

Commit 971583b

Browse files
committed
## Python SDK Changes:
* `glean.client.announcements.create()`: * `request.body.structured_list[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.body.structured_list[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.announcements.update()`: * `request.body.structured_list[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.body.structured_list[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.answers.create()`: * `request.data.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.answers.update()`: * `request.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.answers.retrieve()`: `response.answer_result.answer.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.answers.list()`: `response.answer_results[].answer.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.chat.create()`: * `request.messages[].citations[].source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.messages[].citations[].source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.chat.retrieve()`: * `response.chat_result.chat.created_by.metadata.social_network[].icon_url` **Added** * `error.created_by.metadata.social_network[].icon_url` **Added** * `glean.client.chat.list()`: `response.chat_results[].chat.created_by.metadata.social_network[].icon_url` **Added** * `glean.client.chat.create_stream()`: * `request.messages[].citations[].source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.agents.create()`: `response.workflow.author.metadata.social_network[].icon_url` **Added** * `glean.client.agents.import()`: `response.workflow_result.workflow.author.metadata.social_network[].icon_url` **Added** * `glean.client.collections.add_items()`: `response.collection.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.create()`: * `request.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.union(class (0)).collection.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.delete_item()`: `response.collection.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.update()`: * `request.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.update_item()`: `response.collection.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.retrieve()`: `response.collection.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.collections.list()`: `response.collections[].added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.documents.retrieve()`: `response.documents.Map<DocumentOrError>.union(Document).metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.documents.retrieve_by_facets()`: `response.documents[].metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.insights.retrieve()`: `response.glean_assist.activity_insights[].user.metadata.social_network[].icon_url` **Added** * `glean.client.messages.retrieve()`: `response.search_response.results[].structured_results[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.pins.update()`: `response.attribution.metadata.social_network[].icon_url` **Added** * `glean.client.pins.retrieve()`: `response.pin.attribution.metadata.social_network[].icon_url` **Added** * `glean.client.pins.list()`: `response.pins[].attribution.metadata.social_network[].icon_url` **Added** * `glean.client.pins.create()`: `response.attribution.metadata.social_network[].icon_url` **Added** * `glean.client.search.query_as_admin()`: * `request.source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.results[].structured_results[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.search.autocomplete()`: `response.results[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.search.retrieve_feed()`: `response.results[].primary_entry.created_by.metadata.social_network[].icon_url` **Added** * `glean.client.search.recommendations()`: * `request.source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.results[].structured_results[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.search.query()`: * `request.source_document.metadata.author.metadata.social_network[].icon_url` **Added** * `response.results[].structured_results[].document.metadata.author.metadata.social_network[].icon_url` **Added** * `glean.client.entities.list()`: `response.results[].metadata.social_network[].icon_url` **Added** * `glean.client.entities.read_people()`: `response.results[].metadata.social_network[].icon_url` **Added** * `glean.client.shortcuts.create()`: * `request.data.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.shortcut.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.shortcuts.retrieve()`: `response.shortcut.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.shortcuts.list()`: `response.shortcuts[].added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.shortcuts.update()`: * `request.added_roles[].person.metadata.social_network[].icon_url` **Added** * `response.shortcut.added_roles[].person.metadata.social_network[].icon_url` **Added** * `glean.client.verification.add_reminder()`: `response.metadata.last_verifier.metadata.social_network[].icon_url` **Added** * `glean.client.verification.list()`: `response.documents[].metadata.last_verifier.metadata.social_network[].icon_url` **Added** * `glean.client.verification.verify()`: `response.metadata.last_verifier.metadata.social_network[].icon_url` **Added**
1 parent 922fd9b commit 971583b

12 files changed

Lines changed: 73 additions & 43 deletions

File tree

‎.speakeasy/gen.lock‎

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

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.17.16
37+
version: 0.17.17
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

‎.speakeasy/glean-merged-spec.yaml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ openapi: 3.1.0
22
info:
33
version: "0.9.0"
44
title: Glean API
5-
x-source-commit-sha: 4b199fd04d49e624f6d8ad288c8758f99c4d1f6d
6-
x-open-api-commit-sha: 4406c02294b5d882d37de283a55aa9bd4b4a339b
5+
x-source-commit-sha: f71fef861daa97c9e77d1a8b930e3d90967f9b43
6+
x-open-api-commit-sha: 63db582ea252230a742e2080f53c45cca599faeb
77
description: |
88
# Introduction
99
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.
@@ -12805,6 +12805,10 @@ components:
1280512805
type: string
1280612806
format: url
1280712807
description: Link to profile.
12808+
iconUrl:
12809+
type: string
12810+
format: url
12811+
description: URL of the icon to display for this social network, when available.
1280812812
required:
1280912813
- name
1281012814
- profileUrl

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.800.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:05e3971be4fa72f84e875d8aa438c2b043bfbe3514333699ffe437d475237773
6-
sourceBlobDigest: sha256:45258e9abc405d9a60201089c3113b8cc27705016b80fbabdf489eed6ff600aa
5+
sourceRevisionDigest: sha256:1699514130db835c2b89200db1f874f4514a00ba082444269c63a468254aa2ae
6+
sourceBlobDigest: sha256:86c1ce421202bce79fb32eb65186e6f17d8929f459247f7737bff1beea7becc3
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:05e3971be4fa72f84e875d8aa438c2b043bfbe3514333699ffe437d475237773
20-
sourceBlobDigest: sha256:45258e9abc405d9a60201089c3113b8cc27705016b80fbabdf489eed6ff600aa
19+
sourceRevisionDigest: sha256:1699514130db835c2b89200db1f874f4514a00ba082444269c63a468254aa2ae
20+
sourceBlobDigest: sha256:86c1ce421202bce79fb32eb65186e6f17d8929f459247f7737bff1beea7becc3
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:cdce7efd2330ac7fdb670c272d8c770046ec3450cc0de514c044fe4cac218906
22+
codeSamplesRevisionDigest: sha256:b3fe9181ec0b8f77c815b2bf87b8877710aa9597eb75a32c902b929594284735
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,4 +1018,14 @@ Based on:
10181018
### Generated
10191019
- [python v0.17.16] .
10201020
### Releases
1021-
- [PyPI v0.17.16] https://pypi.org/project/glean-api-client/0.17.16 - .
1021+
- [PyPI v0.17.16] https://pypi.org/project/glean-api-client/0.17.16 - .
1022+
1023+
## 2026-10-05 02:49:50
1024+
### Changes
1025+
Based on:
1026+
- OpenAPI Doc
1027+
- Speakeasy CLI 1.800.1 (2.943.0) https://github.com/speakeasy-api/speakeasy
1028+
### Generated
1029+
- [python v0.17.17] .
1030+
### Releases
1031+
- [PyPI v0.17.17] https://pypi.org/project/glean-api-client/0.17.17 - .

‎docs/models/socialnetwork.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
8-
| `name` | *str* | :heavy_check_mark: | Possible values are "twitter", "linkedin". |
9-
| `profile_name` | *Optional[str]* | :heavy_minus_sign: | Human-readable profile name. |
10-
| `profile_url` | *str* | :heavy_check_mark: | Link to profile. |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
8+
| `name` | *str* | :heavy_check_mark: | Possible values are "twitter", "linkedin". |
9+
| `profile_name` | *Optional[str]* | :heavy_minus_sign: | Human-readable profile name. |
10+
| `profile_url` | *str* | :heavy_check_mark: | Link to profile. |
11+
| `icon_url` | *Optional[str]* | :heavy_minus_sign: | URL of the icon to display for this social network, when available. |

‎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.17.16"
4+
version = "0.17.17"
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: 2 additions & 2 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.17.16"
6+
__version__: str = "0.17.17"
77
__openapi_doc_version__: str = "0.9.0"
88
__gen_version__: str = "2.943.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.17.16 2.943.0 0.9.0 glean-api-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.17.17 2.943.0 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

‎src/glean/api_client/models/socialnetwork.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class SocialNetworkTypedDict(TypedDict):
1515
r"""Link to profile."""
1616
profile_name: NotRequired[str]
1717
r"""Human-readable profile name."""
18+
icon_url: NotRequired[str]
19+
r"""URL of the icon to display for this social network, when available."""
1820

1921

2022
class SocialNetwork(BaseModel):
@@ -27,9 +29,12 @@ class SocialNetwork(BaseModel):
2729
profile_name: Annotated[Optional[str], pydantic.Field(alias="profileName")] = None
2830
r"""Human-readable profile name."""
2931

32+
icon_url: Annotated[Optional[str], pydantic.Field(alias="iconUrl")] = None
33+
r"""URL of the icon to display for this social network, when available."""
34+
3035
@model_serializer(mode="wrap")
3136
def serialize_model(self, handler):
32-
optional_fields = set(["profileName"])
37+
optional_fields = set(["profileName", "iconUrl"])
3338
serialized = handler(self)
3439
m = {}
3540

‎tests/mockserver/internal/sdk/models/components/socialnetwork.go‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)