Skip to content

Commit f152b36

Browse files
committed
don't pass polling_config to get_info within await_env_ready
1 parent 94b56ea commit f152b36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/runloop_api_client/sdk/async_scenario_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def await_env_ready(
107107
:rtype: ScenarioRunView
108108
"""
109109
await self._client.devboxes.await_running(self._devbox_id, polling_config=options.get("polling_config"))
110-
return await self.get_info(**filter_params(options, PollingRequestOptions))
110+
return await self.get_info(**filter_params(options, BaseRequestOptions))
111111

112112
async def score(
113113
self,

src/runloop_api_client/sdk/scenario_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def await_env_ready(
107107
:rtype: ScenarioRunView
108108
"""
109109
self._client.devboxes.await_running(self._devbox_id, polling_config=options.get("polling_config"))
110-
return self.get_info(**filter_params(options, PollingRequestOptions))
110+
return self.get_info(**filter_params(options, BaseRequestOptions))
111111

112112
def score(
113113
self,

0 commit comments

Comments
 (0)