svolt863
svolt863
Mmarimo
Created by svolt863 on 10/28/2024 in #help-support
pytest - best practices
I was wondering what the best practices are related to pytest. I can't run pytest.main() within the marimo notebook (error); and running it in the command line is not working neither (I guess I would have to export it into a classical python file first. Is there a recommend best approach to run tests?
5 replies
Mmarimo
Created by svolt863 on 9/24/2024 in #help-support
Sheet widget - Table with edit mode
I would like the user to be able to see a Table input object, but also to be able to change some of its value (like an Excel Sheet) with the requirements that some cells of the sheet should be locked. My understanding is that we can't do it with the table UI element (there is a onchange method but I am not sure if it is for this purpose?), I found ipyaggrid, itables, and maybe there are some polars widget to do it. Before investigating further, I was wondering if anything was tried and what would be the best practice from a marimo perspective? Thanks
2 replies