-
Notifications
You must be signed in to change notification settings - Fork 192
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
ScopeProvider: Record Access for Attributes and Decorators #1019
Conversation
Hi @andrecsilva! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
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.
Is there any reason for keeping a duplicate around? Could we just delete this function and use get_full_name_for_node
?
In any case, let's write tests, please :)
Codecov ReportAll modified lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1019 +/- ##
==========================================
+ Coverage 91.04% 91.05% +0.01%
==========================================
Files 255 255
Lines 26366 26370 +4
==========================================
+ Hits 24004 24011 +7
+ Misses 2362 2359 -3
☔ View full report in Codecov by Sentry. |
Good call. I wasn't sure why it was separate in the first place so I'd elected to just maintain it. I've removed |
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!
…#1019) * Support for Attributes and Decorators in _NameUtil * Replaced _NameUtil with get_full_name_for_node * Added tests
Summary
Fixes #1018 by making all calls to
_NameUtil.get_name_for()
useget_full_name_for_node()
instead.