Peter Kleynjan

Results 8 comments of Peter Kleynjan

For 0.20.0 I struggled to find a workaround that actually works. @sodrian's came closest, but I still got an 'Event loop is closed' error. In my env this does the...

Of course, Falko, that's fine. For the time being there are workarounds available. Thanks for investigating, -Peter

+1 This is my number one gripe with Diagrams.net today. Straight lines from box A to box B (constrained to 90 degree angles), without being forced to use blocky lines...

Thanks! I understand we can make it work with a closure like this, but it feels like a kludge. The lifecycle for "refreshables" is mysterious enough as it is. 🙂

@python-and-fiction thanks for the workarounds. For now I've concluded that ui.state doesn't fit my use case. I'll come back to that later, in discussions. @falkoschindler , @rodja et al, I...

Thanks for diving into this, @evnchn ! I would still expect `@refreshable_method` to work for class methods, so that each instance gets its own refreshable method. I've made it work...

First of all, I would emphasize that there is no conflict whatsoever @evnchn! I greatly appreciate all the work you've been doing for NiceGUI recently. Because I posted the original...

Excellent @python-and-novella, thanks!! This last version is exactly what I was originally looking for. As @evnchn suggested, the issue was not with `@refreshable` but with `@ui.state` - and apparently I...