From b27f0f8f3b7443eeb24ee50d737e5a4be021c46c Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Mon, 20 Jan 2025 22:03:26 -0600 Subject: [PATCH] fix session syntax error --- augur/tasks/gitlab/issues_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/tasks/gitlab/issues_task.py b/augur/tasks/gitlab/issues_task.py index 391f981d3..dc5b8ffc2 100644 --- a/augur/tasks/gitlab/issues_task.py +++ b/augur/tasks/gitlab/issues_task.py @@ -288,7 +288,7 @@ def process_gitlab_issue_messages(data, task_name, repo_id, logger, session): # create mapping from mr number to pull request id of current mrs issue_number_to_id_map = {} - issues = session.session.query(Issue).filter(Issue.repo_id == repo_id).all() + issues = session.query(Issue).filter(Issue.repo_id == repo_id).all() for issue in issues: issue_number_to_id_map[issue.gh_issue_number] = issue.issue_id