Skip to content

Commit 7dfadbf

Browse files
committed
typo fix
1 parent 80864ed commit 7dfadbf

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(
9494
timeout: Optional[int] = None,
9595
metadata: Optional[Dict[str, str]] = None,
9696
envs: Optional[Dict[str, str]] = None,
97-
secrue: Optional[bool] = None,
97+
secure: Optional[bool] = None,
9898
api_key: Optional[str] = None,
9999
domain: Optional[str] = None,
100100
debug: Optional[bool] = None,
@@ -152,7 +152,7 @@ def __init__(
152152
domain=domain,
153153
debug=debug,
154154
request_timeout=request_timeout,
155-
secure=secrue or False,
155+
secure=secure or False,
156156
proxy=proxy,
157157
)
158158
self._sandbox_id = response.sandbox_id

packages/python-sdk/tests/sync/sandbox_sync/files/test_watch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_watch_file(sandbox: Sandbox):
111111
sandbox.files.watch_dir(filename)
112112

113113
def test_watch_file_with_secured_envd(template):
114-
sbx = Sandbox(template, timeout=30, secrue=True)
114+
sbx = Sandbox(template, timeout=30, secure=True)
115115
try:
116116
sbx.files.watch_dir("/home/user/")
117117
sbx.files.write("test_watch.txt", "This file will be watched.")

packages/python-sdk/tests/sync/sandbox_sync/files/test_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def test_write_with_secured_envd(template):
125125
filename = "non_existing_dir/test_write.txt"
126126
content = "This should succeed too."
127127

128-
sbx = Sandbox(template, timeout=30, secrue=True)
128+
sbx = Sandbox(template, timeout=30, secure=True)
129129
try:
130130
assert sbx.is_running()
131131
assert sbx._envd_version is not None

packages/python-sdk/tests/sync/sandbox_sync/test_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_connect(template):
1616
def test_connect_with_secure(template):
1717
dir_name = f"test_directory_{uuid.uuid4()}"
1818

19-
sbx = Sandbox(template, timeout=10, secrue=True)
19+
sbx = Sandbox(template, timeout=10, secure=True)
2020
try:
2121
assert sbx.is_running()
2222

packages/python-sdk/tests/sync/sandbox_sync/test_secure.py

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

55

66
def test_start_secured(template):
7-
sbx = Sandbox(template, timeout=5, secrue=True)
7+
sbx = Sandbox(template, timeout=5, secure=True)
88
try:
99
assert sbx.is_running()
1010
assert sbx._envd_version is not None

0 commit comments

Comments
 (0)