-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
feat: Add optional filter parameter to utils.basic_autocomplete #2590
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.
i don't think check
is the right word for this, maybe filter
?
I totally agree with that. The only reason I chose the word |
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: Jeffrey Ruan <[email protected]>
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: plun1331 <[email protected]>
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.
Add a usage example in the example section of the function's doc string
* Clarify the description of the ``filter`` parameter * Add usage examples for the ``filter`` parameter
Head branch was pushed to by a user without write access
…rd-Development#2590) Signed-off-by: Jeffrey Ruan <[email protected]> Signed-off-by: plun1331 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: JustaSqu1d <[email protected]> Co-authored-by: plun1331 <[email protected]>
…rd-Development#2590) Signed-off-by: Jeffrey Ruan <[email protected]> Signed-off-by: plun1331 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: JustaSqu1d <[email protected]> Co-authored-by: plun1331 <[email protected]>
Summary
Add optional
check
parameter inutils.basic_autocomplete
.If
check
is provided withNone
, a default check is used that includes items whose string representation starts with the user's input value, case-insensitive.Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.