Skip to content

Commit 8e6b869

Browse files
authored
Set template in Python correctly (#136)
* Default even if empty string is passed * Update python sdk
1 parent 344da28 commit 8e6b869

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.changeset/beige-turkeys-knock.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

python/poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/tests/conftest.py

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

1313
@pytest.fixture()
1414
def template():
15-
return os.getenv("E2B_TESTS_TEMPLATE", "code-interpreter-v1")
15+
return os.getenv("E2B_TESTS_TEMPLATE") or "code-interpreter-v1"
1616

1717

1818
@pytest.fixture()

0 commit comments

Comments
 (0)