Skip to content

Commit 894ff0d

Browse files
feat(api): manual updates (#28)
1 parent d01fe3e commit 894ff0d

File tree

61 files changed

+1164
-631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1164
-631
lines changed

Diff for: .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-a058dd6f8c83b32adb6f30bae2db8295468b8ffc391342a960ec6f393c50b83e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-988164042da1361feb3d28364c6f14fee775ceab496b9d79d048141c0fa6da19.yml

Diff for: src/gitpod/resources/accounts.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def retrieve(
8989
def delete(
9090
self,
9191
*,
92-
account_id: str | NotGiven = NOT_GIVEN,
92+
account_id: str,
9393
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
9494
# The extra values given here take precedence over values defined on the client or passed to this method.
9595
extra_headers: Headers | None = None,
@@ -123,7 +123,7 @@ def delete(
123123
def get_sso_login_url(
124124
self,
125125
*,
126-
email: str | NotGiven = NOT_GIVEN,
126+
email: str,
127127
return_to: Optional[str] | NotGiven = NOT_GIVEN,
128128
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
129129
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -277,7 +277,7 @@ async def retrieve(
277277
async def delete(
278278
self,
279279
*,
280-
account_id: str | NotGiven = NOT_GIVEN,
280+
account_id: str,
281281
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
282282
# The extra values given here take precedence over values defined on the client or passed to this method.
283283
extra_headers: Headers | None = None,
@@ -311,7 +311,7 @@ async def delete(
311311
async def get_sso_login_url(
312312
self,
313313
*,
314-
email: str | NotGiven = NOT_GIVEN,
314+
email: str,
315315
return_to: Optional[str] | NotGiven = NOT_GIVEN,
316316
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
317317
# The extra values given here take precedence over values defined on the client or passed to this method.

Diff for: src/gitpod/resources/environments/classes.py

+36-6
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,24 @@ def list(
5757
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5858
) -> SyncEnvironmentClassesPage[EnvironmentClass]:
5959
"""
60-
ListEnvironmentClasses returns the list of environment classes with runner
61-
details a user is able to use based on the query buf:lint:ignore
62-
RPC_REQUEST_RESPONSE_UNIQUE
60+
Lists available environment classes with their specifications and resource
61+
limits.
62+
63+
Use this method to understand what types of environments you can create and
64+
their capabilities. Environment classes define the compute resources and
65+
features available to your environments.
66+
67+
### Examples
68+
69+
- List all available classes:
70+
71+
Retrieves a list of all environment classes with their specifications.
72+
73+
```yaml
74+
{}
75+
```
76+
77+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
6378
6479
Args:
6580
pagination: pagination contains the pagination options for listing environment classes
@@ -135,9 +150,24 @@ def list(
135150
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
136151
) -> AsyncPaginator[EnvironmentClass, AsyncEnvironmentClassesPage[EnvironmentClass]]:
137152
"""
138-
ListEnvironmentClasses returns the list of environment classes with runner
139-
details a user is able to use based on the query buf:lint:ignore
140-
RPC_REQUEST_RESPONSE_UNIQUE
153+
Lists available environment classes with their specifications and resource
154+
limits.
155+
156+
Use this method to understand what types of environments you can create and
157+
their capabilities. Environment classes define the compute resources and
158+
features available to your environments.
159+
160+
### Examples
161+
162+
- List all available classes:
163+
164+
Retrieves a list of all environment classes with their specifications.
165+
166+
```yaml
167+
{}
168+
```
169+
170+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
141171
142172
Args:
143173
pagination: pagination contains the pagination options for listing environment classes

0 commit comments

Comments
 (0)