Skip to content

feat(api): manual updates #28

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 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 .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-a058dd6f8c83b32adb6f30bae2db8295468b8ffc391342a960ec6f393c50b83e.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-988164042da1361feb3d28364c6f14fee775ceab496b9d79d048141c0fa6da19.yml
8 changes: 4 additions & 4 deletions src/gitpod/resources/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def retrieve(
def delete(
self,
*,
account_id: str | NotGiven = NOT_GIVEN,
account_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -123,7 +123,7 @@ def delete(
def get_sso_login_url(
self,
*,
email: str | NotGiven = NOT_GIVEN,
email: str,
return_to: Optional[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -277,7 +277,7 @@ async def retrieve(
async def delete(
self,
*,
account_id: str | NotGiven = NOT_GIVEN,
account_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -311,7 +311,7 @@ async def delete(
async def get_sso_login_url(
self,
*,
email: str | NotGiven = NOT_GIVEN,
email: str,
return_to: Optional[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down
42 changes: 36 additions & 6 deletions src/gitpod/resources/environments/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,24 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> SyncEnvironmentClassesPage[EnvironmentClass]:
"""
ListEnvironmentClasses returns the list of environment classes with runner
details a user is able to use based on the query buf:lint:ignore
RPC_REQUEST_RESPONSE_UNIQUE
Lists available environment classes with their specifications and resource
limits.

Use this method to understand what types of environments you can create and
their capabilities. Environment classes define the compute resources and
features available to your environments.

### Examples

- List all available classes:

Retrieves a list of all environment classes with their specifications.

```yaml
{}
```

buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE

Args:
pagination: pagination contains the pagination options for listing environment classes
Expand Down Expand Up @@ -135,9 +150,24 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> AsyncPaginator[EnvironmentClass, AsyncEnvironmentClassesPage[EnvironmentClass]]:
"""
ListEnvironmentClasses returns the list of environment classes with runner
details a user is able to use based on the query buf:lint:ignore
RPC_REQUEST_RESPONSE_UNIQUE
Lists available environment classes with their specifications and resource
limits.

Use this method to understand what types of environments you can create and
their capabilities. Environment classes define the compute resources and
features available to your environments.

### Examples

- List all available classes:

Retrieves a list of all environment classes with their specifications.

```yaml
{}
```

buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE

Args:
pagination: pagination contains the pagination options for listing environment classes
Expand Down
Loading