ben-pr-p
ben-pr-p
Mmarimo
Created by ben-pr-p on 9/6/2024 in #help-support
Relative Imports
I'm just trying to make it so I can do:
from utils import warehouse
from utils import warehouse
Where warehouse is just a preconnected Clickhouse object, maybe with some common dataframes ready to initialize across. Just a function and variable or two 🙂
7 replies
Mmarimo
Created by ben-pr-p on 9/6/2024 in #help-support
Relative Imports
I have been googling and finding a lot of confusion :/
7 replies
Mmarimo
Created by ben-pr-p on 9/6/2024 in #help-support
Relative Imports
I see. Is there a way to use modules to get around it so it’s not a relative import and I don’t need to think about that?
7 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
Thanks again for shipping this though! My users are gonna love it 🙂
8 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
I'm not 100% sure I'd call that a bug, but it'd be worth documenting it here since this example doesn't work: https://docs.marimo.io/guides/deploying/programmatically.html
8 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
The fix is to put the index notebook last: marimo.create_asgi_app() .with_app(path="/easy-entry", root="./production/easy-entry.py") .with_app( path="/print-leader-coverage", root="./production/print-leader-coverage.py", ) .with_app( path="/print-section", root="./production/print-section.py", ) .with_app(path="", root="./index.py") It was matching everything, and so it was index.py's notebook serving that 404
8 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
Ok I figured it out. This fixed it (I figured it out from looking at the smoke test file: https://github.com/marimo-team/marimo/blob/7a1459dfa5088656b76feeea40fb7109e3f3b221/marimo/_smoke_tests/custom_server/my_server.py
8 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
If I mount it here:
app.mount("/marimo", server.build())
app.mount("/marimo", server.build())
I also can't visit /marimo (404)
8 replies
Mmarimo
Created by ben-pr-p on 4/4/2024 in #archived-help-and-support
Asgi server
Same thing
8 replies
Mmarimo
Created by ben-pr-p on 3/30/2024 in #archived-help-and-support
Spinning hourglass
This was because I had an expensive SQL query as an input for dropdown options. All good, nothing wrong with Marimo!
2 replies
Mmarimo
Created by ben-pr-p on 3/25/2024 in #archived-help-and-support
It looks like the client is still
I’m happy to report I’ve been able to build things with Marimo where they are totally comfortable with the UX though
10 replies
Mmarimo
Created by ben-pr-p on 3/25/2024 in #archived-help-and-support
It looks like the client is still
Thank you so much! My users are auto workers, so these things like URL shortness and memorability actually make a huge difference
10 replies
Mmarimo
Created by ben-pr-p on 3/25/2024 in #archived-help-and-support
Memory per session
Ok gotcha, so I can think of it as the overall memory of one user x the memory of each specific program? I should not do Python process * N, right?
2 replies