-
Notifications
You must be signed in to change notification settings - Fork 30
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
fixPPLAllowedFields #181
fixPPLAllowedFields #181
Conversation
Signed-off-by: xinyual <[email protected]>
@@ -95,7 +97,28 @@ public class PPLTool implements Tool { | |||
|
|||
private static Map<String, String> defaultPromptDict; | |||
|
|||
private static Set<String> allowedFieldsType; |
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.
Static variables usually follows capital underscore separated naming convention, e.g. ALLOWED_FIELDS_TYPE
, please change this one as well as the defaultPromptDict one. Also make them to final since they shouldn't be changed anywhere.
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.
Sure
Signed-off-by: xinyual <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #181 +/- ##
============================================
+ Coverage 81.75% 81.91% +0.16%
Complexity 197 197
============================================
Files 13 13
Lines 1003 1023 +20
Branches 132 134 +2
============================================
+ Hits 820 838 +18
- Misses 133 134 +1
- Partials 50 51 +1 ☔ View full report in Codecov by Sentry. |
* fixPPLAllowedFields Signed-off-by: xinyual <[email protected]> * rename variables Signed-off-by: xinyual <[email protected]> --------- Signed-off-by: xinyual <[email protected]> (cherry picked from commit 9174e4c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fixPPLAllowedFields * rename variables --------- (cherry picked from commit 9174e4c) Signed-off-by: xinyual <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fixPPLAllowedFields * rename variables --------- (cherry picked from commit 9174e4c) Signed-off-by: xinyual <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: yuye-aws <[email protected]>
Description
fix PPL allow fields
Issues Resolved
fix PPL allow fields
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.