Skip to content

Commit 896ccd0

Browse files
release: 0.2.1 (#58)
* feat(api): manual updates (#57) * release: 0.3.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 3965c25 commit 896ccd0

10 files changed

+109
-36
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.0"
2+
".": "0.2.1"
33
}

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml

CHANGELOG.md

+105
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,110 @@
11
# Changelog
22

3+
## 0.2.1 (2025-02-18)
4+
5+
Full Changelog: [v0.2.0...v0.2.1](https://github.com/gitpod-io/gitpod-sdk-python/compare/v0.2.0...v0.2.1)
6+
7+
### Features
8+
9+
* **api:** add events streaming ([1d7a848](https://github.com/gitpod-io/gitpod-sdk-python/commit/1d7a848908ba3cb5c527bc6253c19e5a84a28b18))
10+
* **api:** dedupe paginations ([75dc8c4](https://github.com/gitpod-io/gitpod-sdk-python/commit/75dc8c43b9ef8453cac3d9f18aafaa5deffca48f))
11+
* **api:** fix pagination field names ([af22da1](https://github.com/gitpod-io/gitpod-sdk-python/commit/af22da11015915a96f68f74851abc7442fc4a0bf))
12+
* **api:** manual updates ([0f00366](https://github.com/gitpod-io/gitpod-sdk-python/commit/0f00366da2833f31a9f298ac6c2ae980c1a6db99))
13+
* **api:** manual updates ([4d19977](https://github.com/gitpod-io/gitpod-sdk-python/commit/4d199779647d6fafb2a1a26872b5a72c4b3378b6))
14+
* **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))
15+
* **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))
16+
* **api:** pagination config ([c407e2e](https://github.com/gitpod-io/gitpod-sdk-python/commit/c407e2eaadda4d1ccbba6065235eac03a2332c48))
17+
* **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))
18+
* **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))
19+
* **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))
20+
* **api:** update via SDK Studio ([3e66ecc](https://github.com/gitpod-io/gitpod-sdk-python/commit/3e66ecc1e5b3f7495b143f9fb31df85d24b871c6))
21+
* **api:** update via SDK Studio ([66db733](https://github.com/gitpod-io/gitpod-sdk-python/commit/66db73366f6edaf7f0b21c1a88ec230b8650423d))
22+
* **api:** update via SDK Studio ([d20eaba](https://github.com/gitpod-io/gitpod-sdk-python/commit/d20eaba8a2034c60b7957e74b1b060305102a520))
23+
* **api:** update via SDK Studio ([b418dbe](https://github.com/gitpod-io/gitpod-sdk-python/commit/b418dbed6ce6c7e3a6eeee211f3391342cdc9d51))
24+
* **api:** update via SDK Studio ([06c4b10](https://github.com/gitpod-io/gitpod-sdk-python/commit/06c4b10fff0b115550b0ab3a5fa106348d3868d4))
25+
* **api:** update via SDK Studio ([5b25656](https://github.com/gitpod-io/gitpod-sdk-python/commit/5b2565694ed495e564f948078c02dd46efe8fadf))
26+
* **api:** update via SDK Studio ([ea67c8c](https://github.com/gitpod-io/gitpod-sdk-python/commit/ea67c8c3e4ed067a049153a6807051bdf6f64cff))
27+
* **api:** update via SDK Studio ([974fb63](https://github.com/gitpod-io/gitpod-sdk-python/commit/974fb635622cc790b134afa0e374e27951ab59b4))
28+
* **api:** update via SDK Studio ([4e32701](https://github.com/gitpod-io/gitpod-sdk-python/commit/4e3270181d05a023bec2afc835dea83fcdcec3b2))
29+
* **api:** update via SDK Studio ([f8ce60d](https://github.com/gitpod-io/gitpod-sdk-python/commit/f8ce60dbadb28a8d29184ac561f5c0608e23e5a0))
30+
* **api:** update via SDK Studio ([87524c3](https://github.com/gitpod-io/gitpod-sdk-python/commit/87524c331c989fa4debc93bede3e16659f94ec62))
31+
* **api:** update via SDK Studio ([2ac41b3](https://github.com/gitpod-io/gitpod-sdk-python/commit/2ac41b3c8889105bd7d5c9a052468646bd670252))
32+
* **api:** update via SDK Studio ([7b2f2cf](https://github.com/gitpod-io/gitpod-sdk-python/commit/7b2f2cf872b573c4945ab7eb83e1011dcd082f06))
33+
* **api:** update via SDK Studio ([c8930ae](https://github.com/gitpod-io/gitpod-sdk-python/commit/c8930ae28eb3d89dd32ca1db15d1bd4bd0423498))
34+
* **api:** update via SDK Studio ([e42265e](https://github.com/gitpod-io/gitpod-sdk-python/commit/e42265e20f8fb254f4ea31f4f868de669dd31475))
35+
* **api:** update via SDK Studio ([dd8ecd8](https://github.com/gitpod-io/gitpod-sdk-python/commit/dd8ecd84a27bb9c9701c269e05300a7d2d4e5708))
36+
* **api:** update via SDK Studio ([8d5f640](https://github.com/gitpod-io/gitpod-sdk-python/commit/8d5f640dd221b455794a8cf40b2071af0467d3f5))
37+
* **api:** update via SDK Studio ([e27af94](https://github.com/gitpod-io/gitpod-sdk-python/commit/e27af94de0c010b0970f3badad10ee35034dfe1d))
38+
* **api:** update via SDK Studio ([48a5274](https://github.com/gitpod-io/gitpod-sdk-python/commit/48a5274bbc3678b4a0cc74679efa9884acb258df))
39+
* **api:** update via SDK Studio ([2139387](https://github.com/gitpod-io/gitpod-sdk-python/commit/2139387ad0c36be18b31a0f3446c39c974637520))
40+
* **api:** update via SDK Studio ([afa5045](https://github.com/gitpod-io/gitpod-sdk-python/commit/afa504592f2b73d450dfc7e9bd074fa22c23be7e))
41+
* **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))
42+
* **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))
43+
* **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))
44+
* pagination responses ([d009d64](https://github.com/gitpod-io/gitpod-sdk-python/commit/d009d64229f53e4f271799d273bbbae26fb3520b))
45+
46+
47+
### Bug Fixes
48+
49+
* **api:** better support union schemas with common properties ([ad416b2](https://github.com/gitpod-io/gitpod-sdk-python/commit/ad416b216575ab7c015ab984dd94a72b240ad467))
50+
* **client:** compat with new httpx 0.28.0 release ([abc0621](https://github.com/gitpod-io/gitpod-sdk-python/commit/abc0621222e659f182967b3ca147280f244e1fc4))
51+
* **client:** only call .close() when needed ([bbb6747](https://github.com/gitpod-io/gitpod-sdk-python/commit/bbb6747ad4d09e9066cda67947fea40937d89bd2))
52+
* correctly handle deserialising `cls` fields ([df55d8a](https://github.com/gitpod-io/gitpod-sdk-python/commit/df55d8a1decd0514c24033b9f2615616a1ae2292))
53+
* **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))
54+
* pagination example ([8ddfb41](https://github.com/gitpod-io/gitpod-sdk-python/commit/8ddfb41ab1b872e2d8535194801826e88e7dee08))
55+
* pagination response ([ba50863](https://github.com/gitpod-io/gitpod-sdk-python/commit/ba50863a1b9e11dcaafa657475081147f2fefd23))
56+
* **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))
57+
* **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))
58+
* **tests:** make test_get_platform less flaky ([51968d4](https://github.com/gitpod-io/gitpod-sdk-python/commit/51968d4b351b54b5b402d8a77b37249205fe3681))
59+
60+
61+
### Chores
62+
63+
* add missing isclass check ([ff7cbaa](https://github.com/gitpod-io/gitpod-sdk-python/commit/ff7cbaa4807baf6951a6317880ab894949129e85))
64+
* go live ([#1](https://github.com/gitpod-io/gitpod-sdk-python/issues/1)) ([49112f9](https://github.com/gitpod-io/gitpod-sdk-python/commit/49112f9912435229e57494ee2f09757918b2f1c7))
65+
* go live ([#14](https://github.com/gitpod-io/gitpod-sdk-python/issues/14)) ([0cfb0dd](https://github.com/gitpod-io/gitpod-sdk-python/commit/0cfb0ddb1c8919e647e3cb56c08c989b0a94979a))
66+
* **internal:** avoid pytest-asyncio deprecation warning ([3c00c53](https://github.com/gitpod-io/gitpod-sdk-python/commit/3c00c53a00ff67157829da89bbbaceae142a411e))
67+
* **internal:** bump httpx dependency ([e160bd9](https://github.com/gitpod-io/gitpod-sdk-python/commit/e160bd9a691017994b8704cca5eaaef0d0344940))
68+
* **internal:** bump pydantic dependency ([5ce555b](https://github.com/gitpod-io/gitpod-sdk-python/commit/5ce555ba5ccdfa37a62c891e46a1758e1445369c))
69+
* **internal:** bump pyright ([aba3b34](https://github.com/gitpod-io/gitpod-sdk-python/commit/aba3b34b382753596f0e3bbc211221b307d2d32c))
70+
* **internal:** change default timeout to an int ([6430f4c](https://github.com/gitpod-io/gitpod-sdk-python/commit/6430f4cde5fb665c32501880ff06127b348e8b31))
71+
* **internal:** codegen related update ([ec5eb7e](https://github.com/gitpod-io/gitpod-sdk-python/commit/ec5eb7e1ab7ce34c1f359300fdc1354e1d5cf549))
72+
* **internal:** codegen related update ([497ae18](https://github.com/gitpod-io/gitpod-sdk-python/commit/497ae18d5624499a7c907f4689a8879b7c1d40b1))
73+
* **internal:** codegen related update ([c9288d5](https://github.com/gitpod-io/gitpod-sdk-python/commit/c9288d535936274a7927b2bb2bf7e424e5b1e8b4))
74+
* **internal:** codegen related update ([cb8475b](https://github.com/gitpod-io/gitpod-sdk-python/commit/cb8475b8084ade988b2861b636a432d45fb3b2ff))
75+
* **internal:** codegen related update ([26b774b](https://github.com/gitpod-io/gitpod-sdk-python/commit/26b774b422be3b8f51ab25facff1c75c89257991))
76+
* **internal:** codegen related update ([0f3b621](https://github.com/gitpod-io/gitpod-sdk-python/commit/0f3b6216e5c5fe1155fa8ae28fb8a81c65421267))
77+
* **internal:** codegen related update ([0dab9d3](https://github.com/gitpod-io/gitpod-sdk-python/commit/0dab9d38924656bf9c2132a320d1233bc61e696a))
78+
* **internal:** codegen related update ([838ff11](https://github.com/gitpod-io/gitpod-sdk-python/commit/838ff11b1d62ddc7148953e73262a35e1ec575ec))
79+
* **internal:** codegen related update ([fafa29d](https://github.com/gitpod-io/gitpod-sdk-python/commit/fafa29d268068e422e5b774eacdd2faedbe32f39))
80+
* **internal:** codegen related update ([80c8bbf](https://github.com/gitpod-io/gitpod-sdk-python/commit/80c8bbfa9f757e97878d336cd9cd7babe5d52d6b))
81+
* **internal:** codegen related update ([36c6d5e](https://github.com/gitpod-io/gitpod-sdk-python/commit/36c6d5eb17f40adb63a29f22d89afa8eca9c0677))
82+
* **internal:** exclude mypy from running on tests ([cae2176](https://github.com/gitpod-io/gitpod-sdk-python/commit/cae2176e0a99d1094f797fb49baab2435c04d5f6))
83+
* **internal:** fix compat model_dump method when warnings are passed ([ee87f96](https://github.com/gitpod-io/gitpod-sdk-python/commit/ee87f963bab5e9ac07b3a9fb4c40f46ca3a07613))
84+
* **internal:** fix some typos ([c0f7e58](https://github.com/gitpod-io/gitpod-sdk-python/commit/c0f7e58307c3602499e72354aee6d2ada1e15528))
85+
* **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))
86+
* **internal:** minor formatting changes ([2273048](https://github.com/gitpod-io/gitpod-sdk-python/commit/2273048b7dbc282f31edf563d56ff8dd223969d8))
87+
* **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))
88+
* **internal:** remove some duplicated imports ([8e6cc74](https://github.com/gitpod-io/gitpod-sdk-python/commit/8e6cc74d2e16297d05cd9cc233e4d79fdff64930))
89+
* **internal:** update examples ([d652f4e](https://github.com/gitpod-io/gitpod-sdk-python/commit/d652f4e1ab70a731eff04beb3ff0f7c471dbcacf))
90+
* **internal:** updated imports ([d31547b](https://github.com/gitpod-io/gitpod-sdk-python/commit/d31547b97db1baea0383ecb8a86e65270a093b77))
91+
* make the `Omit` type public ([cf43176](https://github.com/gitpod-io/gitpod-sdk-python/commit/cf4317618f0cc177f812781d62bd454afa279f45))
92+
* rebuild project due to codegen change ([4c930a5](https://github.com/gitpod-io/gitpod-sdk-python/commit/4c930a5227bbec3f5a3d378ababf01ae8d4cedb3))
93+
* rebuild project due to codegen change ([b7129db](https://github.com/gitpod-io/gitpod-sdk-python/commit/b7129db829b29adc2fbcf0eebdfc9f97e80d74c6))
94+
* rebuild project due to codegen change ([56f37cb](https://github.com/gitpod-io/gitpod-sdk-python/commit/56f37cb299889d38a458cacc659c21df8bf14fbe))
95+
* rebuild project due to codegen change ([710a64b](https://github.com/gitpod-io/gitpod-sdk-python/commit/710a64bcff5107c7180c9c994594c30a65e182cb))
96+
* remove now unused `cached-property` dep ([b66de02](https://github.com/gitpod-io/gitpod-sdk-python/commit/b66de02aeb1dfe216c3c6f4687db973de79f03d2))
97+
* security config ([3c91d8f](https://github.com/gitpod-io/gitpod-sdk-python/commit/3c91d8f00626733cdfb925c0382b994f287b8c33))
98+
99+
100+
### Documentation
101+
102+
* add info log level to readme ([aebe445](https://github.com/gitpod-io/gitpod-sdk-python/commit/aebe445be3e15f9773dad03ee9b3f565f3c7273b))
103+
* fix typos ([35edab0](https://github.com/gitpod-io/gitpod-sdk-python/commit/35edab0b4da50551371b866f4a24a5c520fa9264))
104+
* **raw responses:** fix duplicate `the` ([5d59373](https://github.com/gitpod-io/gitpod-sdk-python/commit/5d5937373485b2a0293d9ebd0ca949d9ed8da26f))
105+
* **readme:** example snippet for client context manager ([b8180b3](https://github.com/gitpod-io/gitpod-sdk-python/commit/b8180b3266fe57a68e3e72af355bb7cc898b8bf2))
106+
* **readme:** fix http client proxies example ([079665c](https://github.com/gitpod-io/gitpod-sdk-python/commit/079665c9ce58df2e2f7c77cb6b610fdb0dc62c43))
107+
3108
## 0.2.0 (2025-02-18)
4109

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

api.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
```python
44
from gitpod.types import (
5-
ArbitraryData,
65
AutomationTrigger,
76
EnvironmentClass,
87
ErrorCode,

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "gitpod-sdk"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "The official Python library for the gitpod API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/gitpod/_exceptions.py

-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from ._utils import is_dict
1111
from ._models import construct_type
1212
from .types.shared.error_code import ErrorCode
13-
from .types.shared.arbitrary_data import ArbitraryData
1413

1514
__all__ = [
1615
"BadRequestError",
@@ -48,11 +47,6 @@ class APIError(GitpodError):
4847
The status code, which should be an enum value of
4948
[google.rpc.Code][google.rpc.Code].
5049
"""
51-
detail: Optional[ArbitraryData] = None
52-
"""
53-
Contains an arbitrary serialized message along with a @type that describes the
54-
type of the serialized message.
55-
"""
5650

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

6357
if is_dict(body):
6458
self.code = cast(Any, construct_type(type_=Optional[ErrorCode], value=body.get("code")))
65-
self.detail = cast(Any, construct_type(type_=Optional[ArbitraryData], value=body.get("detail")))
6659
else:
6760
self.code = None
68-
self.detail = None
6961

7062

7163
class APIResponseValidationError(APIError):

src/gitpod/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "gitpod"
4-
__version__ = "0.2.0" # x-release-please-version
4+
__version__ = "0.2.1" # x-release-please-version

src/gitpod/types/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
FieldValue as FieldValue,
1919
UserStatus as UserStatus,
2020
TaskMetadata as TaskMetadata,
21-
ArbitraryData as ArbitraryData,
2221
TaskExecution as TaskExecution,
2322
EnvironmentClass as EnvironmentClass,
2423
OrganizationRole as OrganizationRole,

src/gitpod/types/shared/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from .field_value import FieldValue as FieldValue
1010
from .user_status import UserStatus as UserStatus
1111
from .task_metadata import TaskMetadata as TaskMetadata
12-
from .arbitrary_data import ArbitraryData as ArbitraryData
1312
from .task_execution import TaskExecution as TaskExecution
1413
from .environment_class import EnvironmentClass as EnvironmentClass
1514
from .organization_role import OrganizationRole as OrganizationRole

src/gitpod/types/shared/arbitrary_data.py

-21
This file was deleted.

0 commit comments

Comments
 (0)