Skip to content
Discussion options

You must be logged in to vote

This would be the perfect time to use the expect_type parameter of query_one, for example:

option = self.query_one("#update", OptionList)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@boanergies
Comment options

@davep
Comment options

Answer selected by davep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2341 on April 20, 2023 18:05.