Skip to content

SelectType must be Hashable #6034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

davidfokkema
Copy link
Contributor

@davidfokkema davidfokkema commented Aug 10, 2025

Because of the internal use of a set for _legal_values, only hashable options are allowed. This makes sure the type checkers correctly flag dictionaries (or lists) being passed as options.

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

Because of the internal use of a set for `_legal_values`, only hashable options are allowed.
@willmcgugan willmcgugan merged commit eec7e80 into Textualize:main Aug 12, 2025
23 checks passed
@willmcgugan
Copy link
Member

thanks

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.

3 participants