Skip to content

Commit fcfaf65

Browse files
linter
1 parent f15223a commit fcfaf65

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

packages/python-sdk/e2b/sandbox_async/sandbox_api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ async def _create_sandbox(
191191
network=SandboxNetworkConfig(**network) if network else UNSET,
192192
)
193193
if auto_resume_enabled is not None:
194-
body.auto_resume = SandboxAutoResumeConfig(
195-
enabled=auto_resume_enabled
196-
)
194+
body.auto_resume = SandboxAutoResumeConfig(enabled=auto_resume_enabled)
197195

198196
api_client = get_api_client(config)
199197
res = await post_sandboxes.asyncio_detailed(

packages/python-sdk/e2b/sandbox_sync/sandbox_api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ def _create_sandbox(
190190
network=SandboxNetworkConfig(**network) if network else UNSET,
191191
)
192192
if auto_resume_enabled is not None:
193-
body.auto_resume = SandboxAutoResumeConfig(
194-
enabled=auto_resume_enabled
195-
)
193+
body.auto_resume = SandboxAutoResumeConfig(enabled=auto_resume_enabled)
196194

197195
api_client = get_api_client(config)
198196
res = post_sandboxes.sync_detailed(

0 commit comments

Comments
 (0)