Skip to content

Commit 79994e5

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#147)
1 parent 21a9a9c commit 79994e5

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-e1f9515ca3a28d01bdf64ee9d93a785ba9bf4c603226f9bc3276e0b0f08d9acb.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-08b04704be6abc9df511c93bdf820d8a7243327ba3f7e9d15964591eb69309fe.yml

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def retrieve(
189189
def list(
190190
self,
191191
*,
192-
limit: str | NotGiven = NOT_GIVEN,
192+
limit: int | NotGiven = NOT_GIVEN,
193193
starting_after: str | NotGiven = NOT_GIVEN,
194194
status: str | NotGiven = NOT_GIVEN,
195195
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -647,7 +647,7 @@ async def retrieve(
647647
async def list(
648648
self,
649649
*,
650-
limit: str | NotGiven = NOT_GIVEN,
650+
limit: int | NotGiven = NOT_GIVEN,
651651
starting_after: str | NotGiven = NOT_GIVEN,
652652
status: str | NotGiven = NOT_GIVEN,
653653
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

src/runloop_api_client/types/devbox_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class DevboxListParams(TypedDict, total=False):
11-
limit: str
11+
limit: int
1212
"""Page Limit"""
1313

1414
starting_after: str

tests/api_resources/test_devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_method_list(self, client: Runloop) -> None:
113113
@parametrize
114114
def test_method_list_with_all_params(self, client: Runloop) -> None:
115115
devbox = client.devboxes.list(
116-
limit="limit",
116+
limit=0,
117117
starting_after="starting_after",
118118
status="status",
119119
)
@@ -541,7 +541,7 @@ async def test_method_list(self, async_client: AsyncRunloop) -> None:
541541
@parametrize
542542
async def test_method_list_with_all_params(self, async_client: AsyncRunloop) -> None:
543543
devbox = await async_client.devboxes.list(
544-
limit="limit",
544+
limit=0,
545545
starting_after="starting_after",
546546
status="status",
547547
)

0 commit comments

Comments
 (0)