-
Notifications
You must be signed in to change notification settings - Fork 176
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: fix dtype
of keywords_high_multiplicity
#1582
fix: fix dtype
of keywords_high_multiplicity
#1582
Conversation
Signed-off-by: Jinzhe Zeng <[email protected]>
WalkthroughWalkthroughThe Changes
Sequence Diagram(s)The changes are too simple to warrant a sequence diagram as they primarily involve a type update for a function argument without altering control flow or adding new features. Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
dpgen/generator/arginfo.py (1)
714-714
: Ensure that the documentation reflects the new type.The documentation for
keywords_high_multiplicity
should clearly state that it can accept bothstr
andlist[str]
.- "Keywords for points with multiple raicals. `multiplicity` should be `auto`. If not set, fallback to normal keywords." + "Keywords for points with multiple radicals. `multiplicity` should be `auto`. If not set, fallback to normal keywords. Accepts both `str` and `list[str]`."
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #1582 +/- ##
=======================================
Coverage 49.59% 49.59%
=======================================
Files 83 83
Lines 14844 14844
=======================================
Hits 7362 7362
Misses 7482 7482 ☔ View full report in Codecov by Sentry. |
which should have the same
dtype
askeywords
.Summary by CodeRabbit
keywords_high_multiplicity
to accept both strings and lists of strings.