pop_screen callback patterns #3402
Replies: 1 comment 1 reply
-
Pattern 1Short of What's the motivation for this? What are you trying to work around here? Simply removing the need for the callback function? Pattern 2I don't believe so; |
Beta Was this translation helpful? Give feedback.
-
I'm hoping there's a nicer way to do this in Python...
Pattern 1
A
Screen
returns a value which needs to be assigned to areactive
.Is there any way to do this without having to define and reference
update_server
?Pattern 2
A
Screen
which returnsNone
.Is there any way to do this without needing
_: None)
for the types to match?Beta Was this translation helpful? Give feedback.
All reactions