)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"c81f22318a91302f4b10351176dfe98a6a1763a1","unresolved":true,"context_lines":[{"line_number":7,"context_line":"[DNM] Refactor session \"is_active\" handling for sqlalchemy-20"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Since sqlalchemy 1.4, \"session.autocommit\" is False by default; in"},{"line_number":10,"context_line":"sqlalchemy this will be the only value accepted."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"The ``_orm.Session`` is considered active when [1]:"},{"line_number":13,"context_line":"- there is a transaction and this transaction is active"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dc3cd72a_afe4721c","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":10},"updated":"2022-02-10 18:01:13.000000000","message":"sqlalchemy 2.0 ?","commit_id":"01c4f3b7936519ff1cd89255946216792122f207"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"49e7237e849131092be4bbd08811e46893efb3fa","unresolved":false,"context_lines":[{"line_number":7,"context_line":"[DNM] Refactor session \"is_active\" handling for sqlalchemy-20"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Since sqlalchemy 1.4, \"session.autocommit\" is False by default; in"},{"line_number":10,"context_line":"sqlalchemy this will be the only value accepted."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"The ``_orm.Session`` is considered active when [1]:"},{"line_number":13,"context_line":"- there is a transaction and this transaction is active"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"748b2906_3c5b6501","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":10},"in_reply_to":"dc3cd72a_afe4721c","updated":"2022-02-24 09:08:46.000000000","message":"Done","commit_id":"01c4f3b7936519ff1cd89255946216792122f207"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"a7a035040f2fc2481d927f93a21eef48988e2d28","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"fa9ebe1e_295d7bb6","updated":"2022-02-23 17:39:41.000000000","message":"recheck","commit_id":"7807bd0f0706b87b131992c17adefb900b8c82d1"}],"neutron/common/utils.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"d6670f464e9bc2b9ad65c83c8a247dcd1c32d0f8","unresolved":true,"context_lines":[{"line_number":1028,"context_line":"    return decorator"},{"line_number":1029,"context_line":""},{"line_number":1030,"context_line":""},{"line_number":1031,"context_line":"def is_session_active(session):"},{"line_number":1032,"context_line":"    \"\"\"Return if the session is active"},{"line_number":1033,"context_line":""},{"line_number":1034,"context_line":"    Since sqlalchemy 1.4, \"autocommit\u003dFalse\" by default; in sqlalchemy 2.0,"}],"source_content_type":"text/x-python","patch_set":4,"id":"78539f0a_f5b546f4","line":1031,"range":{"start_line":1031,"start_character":4,"end_line":1031,"end_character":21},"updated":"2022-02-25 07:21:13.000000000","message":"this will be replaced with neutron-lib function after lib release, right?","commit_id":"982986507371e78d9c9f5e1d0112efd645c09df9"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"88778e59a2d83f985a9450f69e97a32fab710e70","unresolved":true,"context_lines":[{"line_number":1028,"context_line":"    return decorator"},{"line_number":1029,"context_line":""},{"line_number":1030,"context_line":""},{"line_number":1031,"context_line":"def is_session_active(session):"},{"line_number":1032,"context_line":"    \"\"\"Return if the session is active"},{"line_number":1033,"context_line":""},{"line_number":1034,"context_line":"    Since sqlalchemy 1.4, \"autocommit\u003dFalse\" by default; in sqlalchemy 2.0,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ebf0c435_ca79d4c0","line":1031,"range":{"start_line":1031,"start_character":4,"end_line":1031,"end_character":21},"in_reply_to":"78539f0a_f5b546f4","updated":"2022-02-25 09:11:33.000000000","message":"Yes it will","commit_id":"982986507371e78d9c9f5e1d0112efd645c09df9"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"d94196679ebb85b5904cad14656aec418a200e9a","unresolved":true,"context_lines":[{"line_number":1039,"context_line":"    behaviour, this method checks the pending new, deleted and dirty elements"},{"line_number":1040,"context_line":"    to be flushed."},{"line_number":1041,"context_line":"    \"\"\""},{"line_number":1042,"context_line":"    if session.autocommit:  # old behaviour, to be removed with sqlalchemy 2.0"},{"line_number":1043,"context_line":"        return session.is_active"},{"line_number":1044,"context_line":"    if not session.transaction:"},{"line_number":1045,"context_line":"        return False"}],"source_content_type":"text/x-python","patch_set":4,"id":"d4ab2b6d_4bfbfd0b","line":1042,"range":{"start_line":1042,"start_character":28,"end_line":1042,"end_character":78},"updated":"2022-02-24 14:58:43.000000000","message":"nit: TODO?","commit_id":"982986507371e78d9c9f5e1d0112efd645c09df9"}]}
