I thought asking this here before opening an issue on github.
Consider this notebook with these cells.
(it is a versy small simplified version of hg agents course)
I have attached the screenshot of dependencis,
- Cell-1 should be run before cell-2. but as in this there are no explicit dependency between them and the cell-2 is getting the env variables underhood we can not guarantee this execution order.
easy solution to solve this problem is mergin cell-1 and cell-2, but for the next problem we can not do that.
- Cell-2 should run before cell-5 and cell-4
to be able to monitor the agent. Again this order is not guaranteed.
One dirty solution would be to define a variable in Cell-2 and reference it in Cell-5 and Cell-4.
Does Marimo provides a proper solution for this promblem?