Releases: gleanwork/api-client-python
Releases · gleanwork/api-client-python
python - v0.6.0 - 2025-05-31 17:57:50
Generated by Speakeasy CLI
2025-05-31 17:57:50
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.554.1 (2.616.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.6.0] .
Releases
- [PyPI v0.6.0] https://pypi.org/project/glean/0.6.0 - .
Python API Client v0.6.0 - Breaking Changes
Breaking Change: The Python API client now uses a namespaced package
structure. All imports must be updated from glean to glean.api_client.
What Changed
- Import paths have changed from
from glean import ...tofrom glean.api_client import ... - This affects all classes including
Glean,models, and other API components
Migration Required
Before:
from glean import Glean
from glean import models
from glean.models import Something
from glean.exceptions import ApiErrorAfter:
from glean.api_client import Glean
from glean.api_client import models
from glean.api_client.models import Something
from glean.api_client.exceptions import ApiErrorAutomated Migration
Use ast-grep (a structural search and replace tool) to automatically update your Python code:
# First, update imports from glean submodules (e.g., from glean.models import ...)
ast-grep --update-all \
--pattern 'from glean.$SUBMODULE import $$$REST' \
--rewrite 'from glean.api_client.$SUBMODULE import $$$REST' \
--lang python \
path/to/your/code
# Then, update basic glean imports (e.g., from glean import ...)
ast-grep --update-all \
--pattern 'from glean import $$$REST' \
--rewrite 'from glean.api_client import $$$REST' \
--lang python \
path/to/your/code
# Finally, fix any double-nesting that may have occurred
ast-grep --update-all \
--pattern 'from glean.api_client.api_client import $$$REST' \
--rewrite 'from glean.api_client import $$$REST' \
--lang python \
path/to/your/codeManual Steps
If you prefer to update manually, search for all instances of:
from glean import→from glean.api_client importfrom glean.(but not glean.api_client) →from glean.api_client.
Compatibility
- This change affects all Python API client users
- No functional changes to the API itself - only import paths
- Ensure you're using the latest version of the Python API client package
Publishing Completed
python - v0.5.2 - 2025-05-25 01:32:48
Generated by Speakeasy CLI
2025-05-25 01:32:48
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.5.2] .
Releases
- [PyPI v0.5.2] https://pypi.org/project/glean/0.5.2 - .
Publishing Completed
python - v0.5.1 - 2025-05-24 03:13:01
Generated by Speakeasy CLI
2025-05-24 03:13:01
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.5.1] .
Releases
- [PyPI v0.5.1] https://pypi.org/project/glean/0.5.1 - .
Publishing Completed
python - v0.5.0 - 2025-05-23 21:08:54
Generated by Speakeasy CLI
2025-05-23 21:08:54
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.5.0] .
Releases
- [PyPI v0.5.0] https://pypi.org/project/glean/0.5.0 - .
Publishing Completed
python - v0.4.2 - 2025-05-17 23:52:41
Generated by Speakeasy CLI
2025-05-17 23:52:41
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.546.2 (2.604.4) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.4.2] .
Releases
- [PyPI v0.4.2] https://pypi.org/project/glean/0.4.2 - .
Publishing Completed
python - v0.4.1 - 2025-05-16 21:03:23
Generated by Speakeasy CLI
2025-05-16 21:03:23
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.546.1 (2.604.2) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.4.1] .
Releases
- [PyPI v0.4.1] https://pypi.org/project/glean/0.4.1 - .
Publishing Completed
python - v0.4.0 - 2025-05-16 18:52:01
Generated by Speakeasy CLI
2025-05-16 18:52:01
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.546.1 (2.604.2) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.4.0] .
Releases
- [PyPI v0.4.0] https://pypi.org/project/glean/0.4.0 - .
Publishing Completed
python - v0.3.0 - 2025-05-09 22:08:53
Generated by Speakeasy CLI
2025-05-09 22:08:53
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.543.4 (2.598.22) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.3.0] .
Releases
- [PyPI v0.3.0] https://pypi.org/project/glean/0.3.0 - .
Publishing Completed
python - v0.2.0 - 2025-05-06 16:44:23
Generated by Speakeasy CLI
2025-05-06 16:44:23
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.2.0] .
Releases
- [PyPI v0.2.0] https://pypi.org/project/glean/0.2.0 - .
Publishing Completed
python - v0.1.0-beta.2 - 2025-05-06 15:20:05
Generated by Speakeasy CLI
2025-05-06 15:20:05
Changes
Based on:
- OpenAPI Doc 0.9.0
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
Generated
- [python v0.1.0-beta.2] .
Releases
- [PyPI v0.1.0-beta.2] https://pypi.org/project/glean/0.1.0-beta.2 - .
Publishing Completed