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
fix: don't fail if url does not have port (#4872)
Myles Scolnick1592b6ee6014
diff --git a/marimo/_server/print.py b/marimo/_server/print.pyindex 4633dcbfe2..663efc91dc 100644--- a/marimo/_server/print.py+++ b/marimo/_server/print.py@@ -110,8 +110,12 @@ def _colorized_url(url_string: str) -> str:url_string = f"{url.scheme}://{url.hostname}"# raw https and http urls do not have a port to parse- if url.port:- url_string += f":{url.port}"+ try:+ if url.port:+ url_string += f":{url.port}"+ except Exception:+ # If the port is not a number, don't include it+ passreturn bold(f"{url_string}{url.path}{query}",