Skip to content
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

Fix TextChoices.__new__() parameter type #2156

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

mvaled
Copy link
Contributor

@mvaled mvaled commented May 13, 2024

Fixes reportCallIssue with pyright and text choices.

Related issues

Closes #2033.

@sobolevn sobolevn merged commit be51acb into typeddjango:master May 13, 2024
36 checks passed
@intgr intgr changed the title Fix 'reportCallIssues' with pyright Fix TextChoices.__init__() parameter type May 13, 2024
@intgr intgr changed the title Fix TextChoices.__init__() parameter type Fix TextChoices.__new__() parameter type May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

TextChoices api with human-readable name is not supported
2 participants