Myles Scolnick
Explore posts from serversMmarimo
•Created by coltone24 on 1/13/2025 in #help-support
Accessing Middleware Values in a Marimo Cell
@marcodlk @Swinx43 , i am working on this today actually - you can follow along here https://github.com/marimo-team/marimo/pull/3619
14 replies
Mmarimo
•Created by sminot on 1/28/2025 in #help-support
RuntimeError: can't start new thread - Only when running in WASM
Yea that is correct. It's a few layers in the stack that need to add support before we can.
4 replies
Mmarimo
•Created by Juanlu on 1/26/2025 in #help-support
Couldn't change package manager initially, now I can't reproduce
it is possible this is from webassembly? or you ran outside an virtual environment? that is what would disable the pacakge management dropdown
3 replies
Mmarimo
•Created by gabriel on 1/24/2025 in #help-support
How to try a pre-release/development version locally with sandbox?
13 replies
Mmarimo
•Created by gabriel on 1/24/2025 in #help-support
How to try a pre-release/development version locally with sandbox?
ah very cool, let me try it out
13 replies
Mmarimo
•Created by shan9124 on 1/23/2025 in #help-support
Snowflake connection
gotcha, thanks for sharing.
i started this work: https://github.com/marimo-team/marimo/pull/3563
but there is a fair amount of frontend work left, and likely some parsing changes to the DAG.
in the meantime, you can use raw sql with
engine.execute()
or maybe create a small def execute
wrapper like something similar similar to the linked PR.
there are also a few examples in there that might be helpful too
marimo/_smoke_tests/sql/polars_sql.py
marimo/_smoke_tests/sql/sql_alchemy_engine.py
(only half works on main
, other half depends on the PR)10 replies
Mmarimo
•Created by lucharo on 1/24/2025 in #help-support
Is it possible to make variables available by default in marimo notebooks? kedro + marimo
Thank you, good to hear the feedback from the team
7 replies
Mmarimo
•Created by lucharo on 1/24/2025 in #help-support
Is it possible to make variables available by default in marimo notebooks? kedro + marimo
thanks for sharing @lucharo and would be awesome to have better integration with Kedro. you are probably the expert in know how they can integrated. magic commands usually just map back to python, so maybe there is an util you can import to do this, eg..
is magics the only way to integrate with kedro? could you maybe file a ticket upstream and we can chime in?
7 replies
Mmarimo
•Created by kobe on 1/22/2025 in #help-support
threading
there was another issue about this. we've identified the fix and a contributor is helping out fixing it. (the thread is still running, but the stdio does get detached)
8 replies
Mmarimo
•Created by gabriel on 1/24/2025 in #help-support
How to try a pre-release/development version locally with sandbox?
if there is a way to check if you are running from an editable install, that would help. or we could expose an environment variable
13 replies
Mmarimo
•Created by gabriel on 1/24/2025 in #help-support
How to try a pre-release/development version locally with sandbox?
i have this code:
13 replies
Mmarimo
•Created by gabriel on 1/24/2025 in #help-support
How to try a pre-release/development version locally with sandbox?
i dont think there is a great way to do this. i've commeneted out this in the code to test this. you can kinda trick the code path with
MARIMO_MANAGE_SCRIPT_METADATA=true marimo edit
, but that wont actually create the sandbox for you (just think you are in one).13 replies
Mmarimo
•Created by shan9124 on 1/23/2025 in #help-support
Snowflake connection
awesome, this is a great example for me to work towards. we want to support different engines, so we definitely will support this in the med-term.
how are you using snowflake out of curiosity? are you trying to explore snowflake DBs, moving/transforming data around between tables (write-heavy), or trying to show snowflake data in an app (read-heavy)?
10 replies
Mmarimo
•Created by shan9124 on 1/23/2025 in #help-support
Snowflake connection
can you share a small snippet of what it looks like using SQL alchemy with
%%sql
?
we support SQL via duckdb (but will extend to other drivers), to learn more about the SQL support, run:
10 replies
Mmarimo
•Created by john_helt on 1/23/2025 in #help-support
Trigger a cell inside the same notebook
yep, wrapping in a function is recommended, and would be clearer/cleaner when sharing with a co-worker. it will be more obvious what you are doing.
6 replies
Mmarimo
•Created by wolthom on 1/23/2025 in #help-support
Potential bug in drop-down UI elements
mo.ui.dropdown
, only accepts string
types at the moment.
1. you can cast to a string like you do
2. you can use mo.ui.dropdown.from_series(df["col_name"]
which will also do that for you.
the .value
you get back though will be a string. if you want the same datatypes you pass in (int, datatimes), can you file a feature request and we can support that.3 replies
Mmarimo
•Created by marcodlk on 1/22/2025 in #help-support
Dynamic App configuration
let me know how it goes, and if you'd be willing to share your middleware that updates the html, it could be something nice to include in our docs
8 replies
Mmarimo
•Created by kobe on 1/22/2025 in #help-support
threading
we can look into this. out of curiosity, what are you looking to do with the thread? e.g. pull data, refresh, etc.
8 replies
Mmarimo
•Created by kobe on 1/22/2025 in #help-support
threading
hmm that seems like a bug. I see it printing out to my terminal, but not the marimo output. we can look into fixing this.
8 replies
Mmarimo
•Created by marcodlk on 1/22/2025 in #help-support
Dynamic App configuration
or you might be able to write a fastapi middleware that grabs the index.html and writes in the banner
8 replies