mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Type-tidy the radio set button query
This commit is contained in:
@@ -59,7 +59,7 @@ class RadioSet(Container):
|
||||
@property
|
||||
def _buttons(self) -> DOMQuery[RadioButton]:
|
||||
"""The buttons within the set."""
|
||||
return self.query(RadioButton)
|
||||
return cast(DOMQuery[RadioButton], self.query(RadioButton))
|
||||
|
||||
class Changed(Message, bubble=True):
|
||||
"""Posted when the pressed button in the set changes."""
|
||||
|
||||
Reference in New Issue
Block a user