You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove more hasattr/getattr calls in go_context (#4054)
**What type of PR is this?**
starlark cleanup
**What does this PR do? Why is it needed?**
The current logic to grab all the providers is confusing; it runs the
fallback logics even in the case when `go_context_data` is found. Easier
to follow when we pass the data in explicitly, and a bit faster as well.
I also considered making a `go_context_v2` api that doesn't have all the
fallbacks and using that to power `go_context`, but didn't do it for
now.
**Which issues(s) does this PR fix?**
Fixes #
**Other notes for review**
0 commit comments