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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
small docs fixes (#196)
Akshay Agrawal96875e15f097
diff --git a/marimo/_output/data/data.py b/marimo/_output/data/data.pyindex d37add7208..33240b8238 100644--- a/marimo/_output/data/data.py+++ b/marimo/_output/data/data.py@@ -48,12 +48,13 @@ def image(data: bytes, ext: str = "png") -> VirtualFile:def any_data(data: Union[str, bytes, io.BytesIO], ext: str) -> VirtualFile:"""Create a virtual file from any data.+It can be a string, bytes, or a file-like object.For external URLs, these are passed through as-is.**Args.**- - data: Data in bytes+ - data: Data in bytes, or string representing a data URL or external URL- ext: File extension**Returns.**diff --git a/marimo/_plugins/stateless/download.py b/marimo/_plugins/stateless/download.pyindex 07e8a22b46..ff3ab67fdc 100644--- a/marimo/_plugins/stateless/download.py+++ b/marimo/_plugins/stateless/download.py@@ -43,8 +43,8 @@ def download(**Args.**- - `data`: The data to download. Can be a string, bytes,- or a file-like object.+ - `data`: The data to download. Can be a string (interpreted as+ a URL), bytes, or a file opened in binary mode.- `filename`: The name of the file to download.If not provided, the name will be guessed from the data.- `mimetype`: The mimetype of the file to download, for example,