Skip to content

Fix query wrong type#5945

Merged
willmcgugan merged 12 commits into
mainfrom
fix-query-wrong-type
Jul 10, 2025
Merged

Fix query wrong type#5945
willmcgugan merged 12 commits into
mainfrom
fix-query-wrong-type

Conversation

@willmcgugan

Copy link
Copy Markdown
Member

Thanks to @TomJGooding for spotting a test wasn't running.

Enable the test revealed a few bugs. Namely WrongType wasn't being thrown by the original implementation, contrary to the docs.

Comment thread src/textual/getters.py Outdated
@TomJGooding

Copy link
Copy Markdown
Contributor

Wasn't expecting this to open a can of worms, sorry!

willmcgugan and others added 2 commits July 10, 2025 10:40
Co-authored-by: TomJGooding <101601846+TomJGooding@users.noreply.github.com>
@willmcgugan

Copy link
Copy Markdown
Member Author

Wasn't expecting this to open a can of worms, sorry!

I wonder if I subconsciously sabotaged that test, to avoid fixing this?

@willmcgugan willmcgugan merged commit 8178119 into main Jul 10, 2025
38 of 41 checks passed
@willmcgugan willmcgugan deleted the fix-query-wrong-type branch July 10, 2025 10:25
@TomJGooding TomJGooding mentioned this pull request Jul 11, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants