john_helt
john_helt8mo ago

Async codegen

Hi there. I'm having a strange issue in my marimo app, where I created an async function inside a marimo cell. The actual function however in my application.py file is not given the async keyword however. I've been unable to reproduce this behaviour outside my application, so I can't give a better explanation than this. I can manually add the async keyword in my python file, but as soon as I save the marimo file from within marimo, the async keyword is removed again,
7 Replies
Myles Scolnick
Myles Scolnick8mo ago
Can you share a minimal repro?
john_helt
john_heltOP8mo ago
i'll try .. but the app is kinda large and contains proprietary stuff I'm doing as a functional prototype for a customer I'll scrub as much as I can and send you a copy I have a minimal repro I think I can share... how do you want me to share it?
Akshay
Akshay8mo ago
If it's just a notebook file, you could drop it in here or on GitHub issues, or as a Google Drive link. If you need to share it privately you can email us at contact@marimo.io
john_helt
john_heltOP8mo ago
I'll create an issue on github. Thanks!
Akshay
Akshay8mo ago
Thanks!
john_helt
john_heltOP8mo ago
glad to help thanks for the nice tool!
Akshay
Akshay8mo ago
Ofc! Fixed, will release within a couple hours