Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

release: 0.2.1 #58

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.2.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 111
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml
105 changes: 105 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,110 @@
# Changelog

## 0.2.1 (2025-02-18)

Full Changelog: [v0.2.0...v0.2.1](https://github.com/gitpod-io/gitpod-sdk-python/compare/v0.2.0...v0.2.1)

### Features

* **api:** add events streaming ([1d7a848](https://github.com/gitpod-io/gitpod-sdk-python/commit/1d7a848908ba3cb5c527bc6253c19e5a84a28b18))
* **api:** dedupe paginations ([75dc8c4](https://github.com/gitpod-io/gitpod-sdk-python/commit/75dc8c43b9ef8453cac3d9f18aafaa5deffca48f))
* **api:** fix pagination field names ([af22da1](https://github.com/gitpod-io/gitpod-sdk-python/commit/af22da11015915a96f68f74851abc7442fc4a0bf))
* **api:** manual updates ([0f00366](https://github.com/gitpod-io/gitpod-sdk-python/commit/0f00366da2833f31a9f298ac6c2ae980c1a6db99))
* **api:** manual updates ([4d19977](https://github.com/gitpod-io/gitpod-sdk-python/commit/4d199779647d6fafb2a1a26872b5a72c4b3378b6))
* **api:** manual updates ([#34](https://github.com/gitpod-io/gitpod-sdk-python/issues/34)) ([0641e82](https://github.com/gitpod-io/gitpod-sdk-python/commit/0641e82f55caac2e7ddef3bd64dc69c132f3b20d))
* **api:** manual updates ([#57](https://github.com/gitpod-io/gitpod-sdk-python/issues/57)) ([7bfbd45](https://github.com/gitpod-io/gitpod-sdk-python/commit/7bfbd456dfc8719532ff255b1c5ce7294115d2a4))
* **api:** pagination config ([c407e2e](https://github.com/gitpod-io/gitpod-sdk-python/commit/c407e2eaadda4d1ccbba6065235eac03a2332c48))
* **api:** properly produce empty request bodies ([#4](https://github.com/gitpod-io/gitpod-sdk-python/issues/4)) ([58d9393](https://github.com/gitpod-io/gitpod-sdk-python/commit/58d93934944affe142520d167b34068973a91ee8))
* **api:** try to fix updateenvironmentrequest ([#8](https://github.com/gitpod-io/gitpod-sdk-python/issues/8)) ([682243a](https://github.com/gitpod-io/gitpod-sdk-python/commit/682243ad64a55a79a59d63328d41057a922c9d2b))
* **api:** update to latest changes ([#10](https://github.com/gitpod-io/gitpod-sdk-python/issues/10)) ([cec21eb](https://github.com/gitpod-io/gitpod-sdk-python/commit/cec21ebbe15b2a5bbce13a4bffe40ab57803e0ae))
* **api:** update via SDK Studio ([3e66ecc](https://github.com/gitpod-io/gitpod-sdk-python/commit/3e66ecc1e5b3f7495b143f9fb31df85d24b871c6))
* **api:** update via SDK Studio ([66db733](https://github.com/gitpod-io/gitpod-sdk-python/commit/66db73366f6edaf7f0b21c1a88ec230b8650423d))
* **api:** update via SDK Studio ([d20eaba](https://github.com/gitpod-io/gitpod-sdk-python/commit/d20eaba8a2034c60b7957e74b1b060305102a520))
* **api:** update via SDK Studio ([b418dbe](https://github.com/gitpod-io/gitpod-sdk-python/commit/b418dbed6ce6c7e3a6eeee211f3391342cdc9d51))
* **api:** update via SDK Studio ([06c4b10](https://github.com/gitpod-io/gitpod-sdk-python/commit/06c4b10fff0b115550b0ab3a5fa106348d3868d4))
* **api:** update via SDK Studio ([5b25656](https://github.com/gitpod-io/gitpod-sdk-python/commit/5b2565694ed495e564f948078c02dd46efe8fadf))
* **api:** update via SDK Studio ([ea67c8c](https://github.com/gitpod-io/gitpod-sdk-python/commit/ea67c8c3e4ed067a049153a6807051bdf6f64cff))
* **api:** update via SDK Studio ([974fb63](https://github.com/gitpod-io/gitpod-sdk-python/commit/974fb635622cc790b134afa0e374e27951ab59b4))
* **api:** update via SDK Studio ([4e32701](https://github.com/gitpod-io/gitpod-sdk-python/commit/4e3270181d05a023bec2afc835dea83fcdcec3b2))
* **api:** update via SDK Studio ([f8ce60d](https://github.com/gitpod-io/gitpod-sdk-python/commit/f8ce60dbadb28a8d29184ac561f5c0608e23e5a0))
* **api:** update via SDK Studio ([87524c3](https://github.com/gitpod-io/gitpod-sdk-python/commit/87524c331c989fa4debc93bede3e16659f94ec62))
* **api:** update via SDK Studio ([2ac41b3](https://github.com/gitpod-io/gitpod-sdk-python/commit/2ac41b3c8889105bd7d5c9a052468646bd670252))
* **api:** update via SDK Studio ([7b2f2cf](https://github.com/gitpod-io/gitpod-sdk-python/commit/7b2f2cf872b573c4945ab7eb83e1011dcd082f06))
* **api:** update via SDK Studio ([c8930ae](https://github.com/gitpod-io/gitpod-sdk-python/commit/c8930ae28eb3d89dd32ca1db15d1bd4bd0423498))
* **api:** update via SDK Studio ([e42265e](https://github.com/gitpod-io/gitpod-sdk-python/commit/e42265e20f8fb254f4ea31f4f868de669dd31475))
* **api:** update via SDK Studio ([dd8ecd8](https://github.com/gitpod-io/gitpod-sdk-python/commit/dd8ecd84a27bb9c9701c269e05300a7d2d4e5708))
* **api:** update via SDK Studio ([8d5f640](https://github.com/gitpod-io/gitpod-sdk-python/commit/8d5f640dd221b455794a8cf40b2071af0467d3f5))
* **api:** update via SDK Studio ([e27af94](https://github.com/gitpod-io/gitpod-sdk-python/commit/e27af94de0c010b0970f3badad10ee35034dfe1d))
* **api:** update via SDK Studio ([48a5274](https://github.com/gitpod-io/gitpod-sdk-python/commit/48a5274bbc3678b4a0cc74679efa9884acb258df))
* **api:** update via SDK Studio ([2139387](https://github.com/gitpod-io/gitpod-sdk-python/commit/2139387ad0c36be18b31a0f3446c39c974637520))
* **api:** update via SDK Studio ([afa5045](https://github.com/gitpod-io/gitpod-sdk-python/commit/afa504592f2b73d450dfc7e9bd074fa22c23be7e))
* **auth:** Add SCM authentication support for repository access ([#44](https://github.com/gitpod-io/gitpod-sdk-python/issues/44)) ([d400b3f](https://github.com/gitpod-io/gitpod-sdk-python/commit/d400b3f8cd5334bbd2feeee80a57114012372da6))
* **client:** send `X-Stainless-Read-Timeout` header ([#6](https://github.com/gitpod-io/gitpod-sdk-python/issues/6)) ([a49ba54](https://github.com/gitpod-io/gitpod-sdk-python/commit/a49ba542e66b2373afea100eb704fbdfc3860823))
* **jsonl:** add .close() method ([#11](https://github.com/gitpod-io/gitpod-sdk-python/issues/11)) ([bb42526](https://github.com/gitpod-io/gitpod-sdk-python/commit/bb425268e5725cf8b93b88bf0610929f9f8d73a0))
* pagination responses ([d009d64](https://github.com/gitpod-io/gitpod-sdk-python/commit/d009d64229f53e4f271799d273bbbae26fb3520b))


### Bug Fixes

* **api:** better support union schemas with common properties ([ad416b2](https://github.com/gitpod-io/gitpod-sdk-python/commit/ad416b216575ab7c015ab984dd94a72b240ad467))
* **client:** compat with new httpx 0.28.0 release ([abc0621](https://github.com/gitpod-io/gitpod-sdk-python/commit/abc0621222e659f182967b3ca147280f244e1fc4))
* **client:** only call .close() when needed ([bbb6747](https://github.com/gitpod-io/gitpod-sdk-python/commit/bbb6747ad4d09e9066cda67947fea40937d89bd2))
* correctly handle deserialising `cls` fields ([df55d8a](https://github.com/gitpod-io/gitpod-sdk-python/commit/df55d8a1decd0514c24033b9f2615616a1ae2292))
* **jsonl:** lower chunk size ([#12](https://github.com/gitpod-io/gitpod-sdk-python/issues/12)) ([1d52633](https://github.com/gitpod-io/gitpod-sdk-python/commit/1d52633086277672510cc94e52d71e2dd87a695d))
* pagination example ([8ddfb41](https://github.com/gitpod-io/gitpod-sdk-python/commit/8ddfb41ab1b872e2d8535194801826e88e7dee08))
* pagination response ([ba50863](https://github.com/gitpod-io/gitpod-sdk-python/commit/ba50863a1b9e11dcaafa657475081147f2fefd23))
* **tests:** disable mock tests ([#5](https://github.com/gitpod-io/gitpod-sdk-python/issues/5)) ([5815445](https://github.com/gitpod-io/gitpod-sdk-python/commit/58154457f8d42aa1ebf896c3f2e4fcbe9b967b0e))
* **tests:** disable test mocks ([#3](https://github.com/gitpod-io/gitpod-sdk-python/issues/3)) ([fcdbd22](https://github.com/gitpod-io/gitpod-sdk-python/commit/fcdbd2292fa2a1ace4f62f0e6e62c3781648ffee))
* **tests:** make test_get_platform less flaky ([51968d4](https://github.com/gitpod-io/gitpod-sdk-python/commit/51968d4b351b54b5b402d8a77b37249205fe3681))


### Chores

* add missing isclass check ([ff7cbaa](https://github.com/gitpod-io/gitpod-sdk-python/commit/ff7cbaa4807baf6951a6317880ab894949129e85))
* go live ([#1](https://github.com/gitpod-io/gitpod-sdk-python/issues/1)) ([49112f9](https://github.com/gitpod-io/gitpod-sdk-python/commit/49112f9912435229e57494ee2f09757918b2f1c7))
* go live ([#14](https://github.com/gitpod-io/gitpod-sdk-python/issues/14)) ([0cfb0dd](https://github.com/gitpod-io/gitpod-sdk-python/commit/0cfb0ddb1c8919e647e3cb56c08c989b0a94979a))
* **internal:** avoid pytest-asyncio deprecation warning ([3c00c53](https://github.com/gitpod-io/gitpod-sdk-python/commit/3c00c53a00ff67157829da89bbbaceae142a411e))
* **internal:** bump httpx dependency ([e160bd9](https://github.com/gitpod-io/gitpod-sdk-python/commit/e160bd9a691017994b8704cca5eaaef0d0344940))
* **internal:** bump pydantic dependency ([5ce555b](https://github.com/gitpod-io/gitpod-sdk-python/commit/5ce555ba5ccdfa37a62c891e46a1758e1445369c))
* **internal:** bump pyright ([aba3b34](https://github.com/gitpod-io/gitpod-sdk-python/commit/aba3b34b382753596f0e3bbc211221b307d2d32c))
* **internal:** change default timeout to an int ([6430f4c](https://github.com/gitpod-io/gitpod-sdk-python/commit/6430f4cde5fb665c32501880ff06127b348e8b31))
* **internal:** codegen related update ([ec5eb7e](https://github.com/gitpod-io/gitpod-sdk-python/commit/ec5eb7e1ab7ce34c1f359300fdc1354e1d5cf549))
* **internal:** codegen related update ([497ae18](https://github.com/gitpod-io/gitpod-sdk-python/commit/497ae18d5624499a7c907f4689a8879b7c1d40b1))
* **internal:** codegen related update ([c9288d5](https://github.com/gitpod-io/gitpod-sdk-python/commit/c9288d535936274a7927b2bb2bf7e424e5b1e8b4))
* **internal:** codegen related update ([cb8475b](https://github.com/gitpod-io/gitpod-sdk-python/commit/cb8475b8084ade988b2861b636a432d45fb3b2ff))
* **internal:** codegen related update ([26b774b](https://github.com/gitpod-io/gitpod-sdk-python/commit/26b774b422be3b8f51ab25facff1c75c89257991))
* **internal:** codegen related update ([0f3b621](https://github.com/gitpod-io/gitpod-sdk-python/commit/0f3b6216e5c5fe1155fa8ae28fb8a81c65421267))
* **internal:** codegen related update ([0dab9d3](https://github.com/gitpod-io/gitpod-sdk-python/commit/0dab9d38924656bf9c2132a320d1233bc61e696a))
* **internal:** codegen related update ([838ff11](https://github.com/gitpod-io/gitpod-sdk-python/commit/838ff11b1d62ddc7148953e73262a35e1ec575ec))
* **internal:** codegen related update ([fafa29d](https://github.com/gitpod-io/gitpod-sdk-python/commit/fafa29d268068e422e5b774eacdd2faedbe32f39))
* **internal:** codegen related update ([80c8bbf](https://github.com/gitpod-io/gitpod-sdk-python/commit/80c8bbfa9f757e97878d336cd9cd7babe5d52d6b))
* **internal:** codegen related update ([36c6d5e](https://github.com/gitpod-io/gitpod-sdk-python/commit/36c6d5eb17f40adb63a29f22d89afa8eca9c0677))
* **internal:** exclude mypy from running on tests ([cae2176](https://github.com/gitpod-io/gitpod-sdk-python/commit/cae2176e0a99d1094f797fb49baab2435c04d5f6))
* **internal:** fix compat model_dump method when warnings are passed ([ee87f96](https://github.com/gitpod-io/gitpod-sdk-python/commit/ee87f963bab5e9ac07b3a9fb4c40f46ca3a07613))
* **internal:** fix some typos ([c0f7e58](https://github.com/gitpod-io/gitpod-sdk-python/commit/c0f7e58307c3602499e72354aee6d2ada1e15528))
* **internal:** fix type traversing dictionary params ([#7](https://github.com/gitpod-io/gitpod-sdk-python/issues/7)) ([d91bc6c](https://github.com/gitpod-io/gitpod-sdk-python/commit/d91bc6c0489e0c62d9c8ccaf6024341816e95491))
* **internal:** minor formatting changes ([2273048](https://github.com/gitpod-io/gitpod-sdk-python/commit/2273048b7dbc282f31edf563d56ff8dd223969d8))
* **internal:** minor type handling changes ([#9](https://github.com/gitpod-io/gitpod-sdk-python/issues/9)) ([83e7e59](https://github.com/gitpod-io/gitpod-sdk-python/commit/83e7e59f06f3ee5cc755adc31df189c682e795ce))
* **internal:** remove some duplicated imports ([8e6cc74](https://github.com/gitpod-io/gitpod-sdk-python/commit/8e6cc74d2e16297d05cd9cc233e4d79fdff64930))
* **internal:** update examples ([d652f4e](https://github.com/gitpod-io/gitpod-sdk-python/commit/d652f4e1ab70a731eff04beb3ff0f7c471dbcacf))
* **internal:** updated imports ([d31547b](https://github.com/gitpod-io/gitpod-sdk-python/commit/d31547b97db1baea0383ecb8a86e65270a093b77))
* make the `Omit` type public ([cf43176](https://github.com/gitpod-io/gitpod-sdk-python/commit/cf4317618f0cc177f812781d62bd454afa279f45))
* rebuild project due to codegen change ([4c930a5](https://github.com/gitpod-io/gitpod-sdk-python/commit/4c930a5227bbec3f5a3d378ababf01ae8d4cedb3))
* rebuild project due to codegen change ([b7129db](https://github.com/gitpod-io/gitpod-sdk-python/commit/b7129db829b29adc2fbcf0eebdfc9f97e80d74c6))
* rebuild project due to codegen change ([56f37cb](https://github.com/gitpod-io/gitpod-sdk-python/commit/56f37cb299889d38a458cacc659c21df8bf14fbe))
* rebuild project due to codegen change ([710a64b](https://github.com/gitpod-io/gitpod-sdk-python/commit/710a64bcff5107c7180c9c994594c30a65e182cb))
* remove now unused `cached-property` dep ([b66de02](https://github.com/gitpod-io/gitpod-sdk-python/commit/b66de02aeb1dfe216c3c6f4687db973de79f03d2))
* security config ([3c91d8f](https://github.com/gitpod-io/gitpod-sdk-python/commit/3c91d8f00626733cdfb925c0382b994f287b8c33))


### Documentation

* add info log level to readme ([aebe445](https://github.com/gitpod-io/gitpod-sdk-python/commit/aebe445be3e15f9773dad03ee9b3f565f3c7273b))
* fix typos ([35edab0](https://github.com/gitpod-io/gitpod-sdk-python/commit/35edab0b4da50551371b866f4a24a5c520fa9264))
* **raw responses:** fix duplicate `the` ([5d59373](https://github.com/gitpod-io/gitpod-sdk-python/commit/5d5937373485b2a0293d9ebd0ca949d9ed8da26f))
* **readme:** example snippet for client context manager ([b8180b3](https://github.com/gitpod-io/gitpod-sdk-python/commit/b8180b3266fe57a68e3e72af355bb7cc898b8bf2))
* **readme:** fix http client proxies example ([079665c](https://github.com/gitpod-io/gitpod-sdk-python/commit/079665c9ce58df2e2f7c77cb6b610fdb0dc62c43))

## 0.2.0 (2025-02-18)

Full Changelog: [v0.1.6...v0.2.0](https://github.com/gitpod-io/gitpod-sdk-python/compare/v0.1.6...v0.2.0)
Expand Down
1 change: 0 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

```python
from gitpod.types import (
ArbitraryData,
AutomationTrigger,
EnvironmentClass,
ErrorCode,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gitpod-sdk"
version = "0.2.0"
version = "0.2.1"
description = "The official Python library for the gitpod API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
8 changes: 0 additions & 8 deletions src/gitpod/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from ._utils import is_dict
from ._models import construct_type
from .types.shared.error_code import ErrorCode
from .types.shared.arbitrary_data import ArbitraryData

__all__ = [
"BadRequestError",
Expand Down Expand Up @@ -48,11 +47,6 @@ class APIError(GitpodError):
The status code, which should be an enum value of
[google.rpc.Code][google.rpc.Code].
"""
detail: Optional[ArbitraryData] = None
"""
Contains an arbitrary serialized message along with a @type that describes the
type of the serialized message.
"""

def __init__(self, message: str, request: httpx.Request, *, body: object | None) -> None:
super().__init__(message)
Expand All @@ -62,10 +56,8 @@ def __init__(self, message: str, request: httpx.Request, *, body: object | None)

if is_dict(body):
self.code = cast(Any, construct_type(type_=Optional[ErrorCode], value=body.get("code")))
self.detail = cast(Any, construct_type(type_=Optional[ArbitraryData], value=body.get("detail")))
else:
self.code = None
self.detail = None


class APIResponseValidationError(APIError):
Expand Down
2 changes: 1 addition & 1 deletion src/gitpod/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gitpod"
__version__ = "0.2.0" # x-release-please-version
__version__ = "0.2.1" # x-release-please-version
1 change: 0 additions & 1 deletion src/gitpod/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
FieldValue as FieldValue,
UserStatus as UserStatus,
TaskMetadata as TaskMetadata,
ArbitraryData as ArbitraryData,
TaskExecution as TaskExecution,
EnvironmentClass as EnvironmentClass,
OrganizationRole as OrganizationRole,
Expand Down
1 change: 0 additions & 1 deletion src/gitpod/types/shared/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from .field_value import FieldValue as FieldValue
from .user_status import UserStatus as UserStatus
from .task_metadata import TaskMetadata as TaskMetadata
from .arbitrary_data import ArbitraryData as ArbitraryData
from .task_execution import TaskExecution as TaskExecution
from .environment_class import EnvironmentClass as EnvironmentClass
from .organization_role import OrganizationRole as OrganizationRole
Expand Down
21 changes: 0 additions & 21 deletions src/gitpod/types/shared/arbitrary_data.py

This file was deleted.