We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_connection
get_connection doesn't return a connection, but rather creates and returns a new Session
Session
https://github.com/wtsi-npg/npg_notifications/blob/4e45baa34602b5e0785d7d05ec9880f7cf30c50e/src/npg_notify/db/utils.py#L50C5-L50C19
This is mentioned in the docstring, but a better name would mention session e.g. open_session, new_session, session etc
open_session
new_session
session
The text was updated successfully, but these errors were encountered:
No branches or pull requests
get_connection
doesn't return a connection, but rather creates and returns a newSession
https://github.com/wtsi-npg/npg_notifications/blob/4e45baa34602b5e0785d7d05ec9880f7cf30c50e/src/npg_notify/db/utils.py#L50C5-L50C19
This is mentioned in the docstring, but a better name would mention session e.g.
open_session
,new_session
,session
etcThe text was updated successfully, but these errors were encountered: