Skip to content

Commit 5770991

Browse files
Bumping version to prerelease
1 parent 0ec977c commit 5770991

File tree

7 files changed

+33
-21
lines changed

7 files changed

+33
-21
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 5 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
@@ -22,7 +22,7 @@ generation:
2222
tests:
2323
generateNewTests: true
2424
python:
25-
version: 0.8.7
25+
version: 0.1.0-beta
2626
additionalDependencies:
2727
dev: {}
2828
main: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
speakeasyVersion: 1.539.2
1+
speakeasyVersion: 1.540.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:57e3640581a128d3fe18376fa9d80f8340eadf0dc0982aa35c09bef0980967b3
5+
sourceRevisionDigest: sha256:7c4c0dd261e2d1b832d1c43a0046a3f8dc10c15462e008dfdfeb9c308da6ab74
66
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
77
tags:
88
- latest
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:57e3640581a128d3fe18376fa9d80f8340eadf0dc0982aa35c09bef0980967b3
19+
sourceRevisionDigest: sha256:7c4c0dd261e2d1b832d1c43a0046a3f8dc10c15462e008dfdfeb9c308da6ab74
2020
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:15dd4c4d0e544558818937d7734b60c84ae72c987805f965a5236f93cff16e31
22+
codeSamplesRevisionDigest: sha256:a48c455b4f42763494e06634e347d2eccf306f93dda08e04b22096d1f4573cc7
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest
@@ -32,6 +32,9 @@ workflow:
3232
glean:
3333
target: python
3434
source: Glean API
35+
publish:
36+
pypi:
37+
token: $pypi_token
3538
codeSamples:
3639
registry:
3740
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs-python-code-samples

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44

55
The Glean Python SDK provides convenient access to the Glean REST API from any Python 3.8+ application. It includes type hints for all request parameters and response fields, and supports both synchronous and asynchronous usage via [httpx](https://www.python-httpx.org/).
66

7+
<!-- Start Summary [summary] -->
8+
## Summary
9+
10+
Glean API: # Introduction
11+
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.
12+
13+
# Usage guidelines
14+
This API is evolving fast. Glean will provide advance notice of any planned backwards incompatible changes along
15+
with a 6-month sunset period for anything that requires developers to adopt the new versions.
16+
<!-- End Summary [summary] -->
17+
718
<!-- Start Table of Contents [toc] -->
819
## Table of Contents
920
<!-- $toc-max-depth=2 -->
21+
* [Glean Python API Client](#glean-python-api-client)
1022
* [Usage guidelines](#usage-guidelines)
1123
* [SDK Installation](#sdk-installation)
1224
* [IDE Support](#ide-support)
@@ -29,10 +41,6 @@ The Glean Python SDK provides convenient access to the Glean REST API from any P
2941
<!-- Start SDK Installation [installation] -->
3042
## SDK Installation
3143

32-
> [!TIP]
33-
> To finish publishing your SDK to PyPI you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
34-
35-
3644
> [!NOTE]
3745
> **Python version upgrade policy**
3846
>
@@ -45,15 +53,15 @@ The SDK can be installed with either *pip* or *poetry* package managers.
4553
*PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
4654

4755
```bash
48-
pip install git+https://github.com/gleanwork/api-client-python.git
56+
pip install glean
4957
```
5058

5159
### Poetry
5260

5361
*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
5462

5563
```bash
56-
poetry add git+https://github.com/gleanwork/api-client-python.git
64+
poetry add glean
5765
```
5866

5967
### Shell and script usage with `uv`

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"
3-
version = "0.8.7"
3+
version = "0.1.0-beta"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

src/glean/_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.7"
6+
__version__: str = "0.1.0-beta"
77
__openapi_doc_version__: str = "0.9.0"
8-
__gen_version__: str = "2.591.1"
9-
__user_agent__: str = "speakeasy-sdk/python 0.8.7 2.591.1 0.9.0 glean"
8+
__gen_version__: str = "2.593.3"
9+
__user_agent__: str = "speakeasy-sdk/python 0.1.0-beta 2.593.3 0.9.0 glean"
1010

1111
try:
1212
if __package__ is not None:

src/glean/sdkconfiguration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
SERVERS = [
20-
"https://{domain}-be.glean.com",
20+
"https://domain-be.glean.com",
2121
]
2222
"""Contains the list of servers available to the SDK"""
2323

0 commit comments

Comments
 (0)