-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support parameters in InternalTag #7060
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
dstrain115
commented
Feb 12, 2025
- This adds support for parameters in InternalTag.
- This adds support for parameters in InternalTag.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7060 +/- ##
=======================================
Coverage 98.18% 98.18%
=======================================
Files 1089 1089
Lines 95202 95244 +42
=======================================
+ Hits 93473 93515 +42
Misses 1729 1729 ☔ View full report in Codecov by Sentry. |
|
||
kw_dict = {} | ||
for k, v in msg.internal_tag.tag_args.items(): | ||
kw_dict[k] = arg_func_langs.arg_from_proto(v, arg_function_language='exp') |
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.
Should we set arg_function_language
also in the to_proto
method above at line 71?
Also, let us do the msg.WhichOneof
check (L83) first before building kw_dict
.
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.
Done!
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.
LGTM with a minor comment.
* Support parameters in InternalTag - This adds support for parameters in InternalTag. * Address comments.