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
Session is not used in _do_render_template_fields #37856
Session is not used in _do_render_template_fields #37856
Conversation
It's not used so, we should be able to remove it. The context here is AIP-44 -- it's important to identify which functions require database access and which don't.
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. Don't we need to check for all operators?
i found one more place where session was being passed. in case you are curious, we have not used session (at least not directly) in this method since this change: just want to double check with @uranusjr --- any reason not to merge this PR? |
I don’t quite recall why we removed the |
It's not used so, we should be able to remove it. The context here is AIP-44 -- it's important to identify which functions require database access and which don't. For reference, session has not been used in this function since apache@5d1270c#diff-f373d874912ccfa03918e853ad15aa91d6bfaa1ee75f1676f78c8a756f332ed0L351.
It's not used so, we should be able to remove it. The context here is AIP-44 -- it's important to identify which functions require database access and which don't. For reference, session has not been used in this function since apache@5d1270c#diff-f373d874912ccfa03918e853ad15aa91d6bfaa1ee75f1676f78c8a756f332ed0L351.
It's not used so, we should be able to remove it. The context here is AIP-44 -- it's important to identify which functions require database access and which don't.