Skip to content

Commit c1ff2a4

Browse files
committed
update to fix basedpyright
1 parent 2288136 commit c1ff2a4

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/runloop_api_client/resources/blueprints.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ def create_and_await_build_complete(
230230
PollingTimeout: If polling times out before blueprint is built
231231
RunloopError: If blueprint enters a non-built terminal state
232232
"""
233+
# Pass all create_args to the underlying create method
234+
_ = create_args # Suppress unused parameter warning
233235
blueprint = self.create(**create_args)
234236

235237
return self.await_build_complete(
@@ -634,6 +636,8 @@ async def create_and_await_build_complete(
634636
PollingTimeout: If polling times out before blueprint is built
635637
RunloopError: If blueprint enters a non-built terminal state
636638
"""
639+
# Pass all create_args to the underlying create method
640+
_ = create_args # Suppress unused parameter warning
637641
blueprint = await self.create(**create_args)
638642

639643
return await self.await_build_complete(

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ def create_and_await_running(
444444
PollingTimeout: If polling times out before devbox is running
445445
RunloopError: If devbox enters a non-running terminal state
446446
"""
447+
# Pass all create_args to the underlying create method
448+
_ = create_args # Suppress unused parameter warning
447449
devbox = self.create(**create_args)
448450

449451
return self.await_running(
@@ -1586,6 +1588,8 @@ async def create_and_await_running(
15861588
PollingTimeout: If polling times out before devbox is running
15871589
RunloopError: If devbox enters a non-running terminal state
15881590
"""
1591+
# Pass all create_args to the underlying create method
1592+
_ = create_args # Suppress unused parameter warning
15891593
devbox = await self.create(**create_args)
15901594

15911595
return await self.await_running(

0 commit comments

Comments
 (0)