-
Notifications
You must be signed in to change notification settings - Fork 890
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
marimo used to show little hints on why functions could not be made reusable. However, this has regressed.
Also on refresh:
by contrast in 0.18.3:
Will you submit a PR?
- Yes
Environment
0.19.4
Code to reproduce
import marimo
__generated_with = "0.18.3"
app = marimo.App()
with app.setup:
task = lambda x: x
@app.cell
def _(mo):
discount_summary = mo.sql(
f"""
SELECT 1;
"""
)
return (discount_summary,)
@app.cell
def _(discount_summary):
@task
def get_discount_summary(ctx):
ctx["1"] = discount_summary
return
@app.cell
def _():
a = 1
return (a,)
@app.function
def fn():
print(1)
@app.cell
def _(a):
def uses_a():
print(a)
return
@app.cell
def _():
import marimo as mo
return (mo,)
@app.cell
def _():
return
if __name__ == "__main__":
app.run()Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working