Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: creating temporary marimo app from URL (#410)

Myles Scolnick51cce26355fa
diff --git a/marimo/_cli/file_path.py b/marimo/_cli/file_path.py
index eb41a8b141..05f81153b2 100644
--- a/marimo/_cli/file_path.py
+++ b/marimo/_cli/file_path.py
@@ -76,6 +76,7 @@ def validate_name(
return _handle_github_src(name, temp_dir), temp_dir
if is_url(name):
+ temp_dir = TemporaryDirectory()
return _create_tmp_file_from_url(name, temp_dir), temp_dir
if not allow_new_file: