-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix CCT.DEFAULT_TYPE type hint
#3017
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM. did you check with both pyright and mypy if they can work with the changes? did you try autocompletion also in both VSC + pylance & pycharm?
Closes #3008 by changing the import to
ContextTypes.DEFAULT_TYPE.Also use
float()intimerbot.pyfor setting the timer.TODO: