Skip to content

Commit f343ccd

Browse files
authored
fix: recovery with setup cell (#4804)
## 📝 Summary Bad casting without real conversion lead to failure
1 parent a15f400 commit f343ccd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

marimo/_ast/codegen.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ def recover(filename: str) -> str:
416416
)
417417
)
418418
return generate_filecontents(
419-
cast(list[str], codes),
420-
cast(list[str], names),
421-
cast(list[CellConfig], configs),
419+
cast(list[str], list(codes)),
420+
cast(list[str], list(names)),
421+
cast(list[CellConfig], list(configs)),
422422
)
423423

424424

0 commit comments

Comments
 (0)