-
Notifications
You must be signed in to change notification settings - Fork 6k
Check commands in commandhandler for args #3854
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
Check commands in commandhandler for args #3854
Conversation
- check if has_args is negative, raise ValueError if True - removed Enum in favor of if else - added versionadded:: NEXT.VERSION - added more test cases
|
Adding @Bibo-Joshi for review pls 🙏 |
harshil21
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.
Thanks for the PR. I see that you've not fully resolved Hinrich's review comments, specifically the wording in the docstrings (#3812 (comment) & #3812 (comment)). Other than that, logic looks good and simple!
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.
Thank you for the nice contribution :)
Hi, so sorry, i now realize #3812 is closed, but i have finished amending changes in this new PR here. So sorry for the delay 🙏 this should resolve the comments in the PR previously.
closes #3798, supersedes #3812