Skip to content

Commit ade3381

Browse files
committed
fix tests
1 parent 31dea27 commit ade3381

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/runloop_api_client/resources/blueprints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,14 @@ def create_and_await_build_complete(
236236
dockerfile: Optional[str] | NotGiven = NOT_GIVEN,
237237
file_mounts: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
238238
launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN,
239+
polling_config: PollingConfig | None = None,
239240
services: Optional[Iterable[blueprint_create_params.Service]] | NotGiven = NOT_GIVEN,
240241
system_setup_commands: Optional[List[str]] | NotGiven = NOT_GIVEN,
241242
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
242243
# The extra values given here take precedence over values defined on the client or passed to this method.
243244
extra_headers: Headers | None = None,
244245
extra_query: Query | None = None,
245246
extra_body: Body | None = None,
246-
polling_config: PollingConfig | None = None,
247247
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
248248
idempotency_key: str | None = None,
249249
) -> BlueprintView:
@@ -727,14 +727,14 @@ async def create_and_await_build_complete(
727727
dockerfile: Optional[str] | NotGiven = NOT_GIVEN,
728728
file_mounts: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
729729
launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN,
730+
polling_config: PollingConfig | None = None,
730731
services: Optional[Iterable[blueprint_create_params.Service]] | NotGiven = NOT_GIVEN,
731732
system_setup_commands: Optional[List[str]] | NotGiven = NOT_GIVEN,
732733
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
733734
# The extra values given here take precedence over values defined on the client or passed to this method.
734735
extra_headers: Headers | None = None,
735736
extra_query: Query | None = None,
736737
extra_body: Body | None = None,
737-
polling_config: PollingConfig | None = None,
738738
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
739739
idempotency_key: str | None = None,
740740
) -> BlueprintView:

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ def create_and_await_running(
439439
launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN,
440440
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
441441
name: Optional[str] | NotGiven = NOT_GIVEN,
442+
polling_config: PollingConfig | None = None,
442443
repo_connection_id: Optional[str] | NotGiven = NOT_GIVEN,
443444
secrets: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
444445
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
@@ -447,7 +448,6 @@ def create_and_await_running(
447448
extra_headers: Headers | None = None,
448449
extra_query: Query | None = None,
449450
extra_body: Body | None = None,
450-
polling_config: PollingConfig | None = None,
451451
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
452452
idempotency_key: str | None = None,
453453
) -> DevboxView:
@@ -1593,6 +1593,7 @@ async def create_and_await_running(
15931593
launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN,
15941594
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
15951595
name: Optional[str] | NotGiven = NOT_GIVEN,
1596+
polling_config: PollingConfig | None = None,
15961597
repo_connection_id: Optional[str] | NotGiven = NOT_GIVEN,
15971598
secrets: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
15981599
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
@@ -1601,7 +1602,6 @@ async def create_and_await_running(
16011602
extra_headers: Headers | None = None,
16021603
extra_query: Query | None = None,
16031604
extra_body: Body | None = None,
1604-
polling_config: PollingConfig | None = None,
16051605
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
16061606
idempotency_key: str | None = None,
16071607
) -> DevboxView:

tests/api_resources/test_devboxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ def test_method_create_and_await_running_success(self, client: Runloop) -> None:
11681168
mock_await.return_value = mock_devbox_running
11691169

11701170
result = client.devboxes.create_and_await_running(
1171-
name="test",
1171+
name="test",
11721172
)
11731173

11741174
assert result.id == "test_id"

0 commit comments

Comments
 (0)