Skip to content

Commit 1617eb3

Browse files
feat(api): aggregated API specs update
1 parent 8cd4f0f commit 1617eb3

4 files changed

Lines changed: 2 additions & 15 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 650
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-42598c3524698b689c362b33bb5d2d471281d853f53a8707a809f2c05dfb0144.yml
3-
openapi_spec_hash: 283809f93516f67b7bb1328608d4341e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-f0661631158989a9f89e02c2dca049e2791dd212956b54749a89d382aaec9464.yml
3+
openapi_spec_hash: bfaa58f8980edb933d25051107de9766
44
config_hash: 04626cc332f61b5896412323f83340f7

src/gcore/resources/cloud/projects.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ def update(
148148
def list(
149149
self,
150150
*,
151-
client_id: int | Omit = omit,
152151
include_deleted: bool | Omit = omit,
153152
limit: int | Omit = omit,
154153
name: str | Omit = omit,
@@ -167,8 +166,6 @@ def list(
167166
ordered by various fields.
168167
169168
Args:
170-
client_id: Client ID filter for administrators.
171-
172169
include_deleted: Whether to include deleted projects in the response.
173170
174171
limit: Limit value is used to limit the number of records in the result
@@ -197,7 +194,6 @@ def list(
197194
timeout=timeout,
198195
query=maybe_transform(
199196
{
200-
"client_id": client_id,
201197
"include_deleted": include_deleted,
202198
"limit": limit,
203199
"name": name,
@@ -406,7 +402,6 @@ async def update(
406402
def list(
407403
self,
408404
*,
409-
client_id: int | Omit = omit,
410405
include_deleted: bool | Omit = omit,
411406
limit: int | Omit = omit,
412407
name: str | Omit = omit,
@@ -425,8 +420,6 @@ def list(
425420
ordered by various fields.
426421
427422
Args:
428-
client_id: Client ID filter for administrators.
429-
430423
include_deleted: Whether to include deleted projects in the response.
431424
432425
limit: Limit value is used to limit the number of records in the result
@@ -455,7 +448,6 @@ def list(
455448
timeout=timeout,
456449
query=maybe_transform(
457450
{
458-
"client_id": client_id,
459451
"include_deleted": include_deleted,
460452
"limit": limit,
461453
"name": name,

src/gcore/types/cloud/project_list_params.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99

1010
class ProjectListParams(TypedDict, total=False):
11-
client_id: int
12-
"""Client ID filter for administrators."""
13-
1411
include_deleted: bool
1512
"""Whether to include deleted projects in the response."""
1613

tests/api_resources/cloud/test_projects.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def test_method_list(self, client: Gcore) -> None:
105105
@parametrize
106106
def test_method_list_with_all_params(self, client: Gcore) -> None:
107107
project = client.cloud.projects.list(
108-
client_id=1,
109108
include_deleted=False,
110109
limit=100,
111110
name="my-project",
@@ -289,7 +288,6 @@ async def test_method_list(self, async_client: AsyncGcore) -> None:
289288
@parametrize
290289
async def test_method_list_with_all_params(self, async_client: AsyncGcore) -> None:
291290
project = await async_client.cloud.projects.list(
292-
client_id=1,
293291
include_deleted=False,
294292
limit=100,
295293
name="my-project",

0 commit comments

Comments
 (0)