From 2c527d4ea897340ef623bf2432ad5ef321a960fc Mon Sep 17 00:00:00 2001 From: John Davis Date: Tue, 2 Apr 2024 14:09:40 -0400 Subject: [PATCH] Fix new bug: incorrect type in calculate_disk_usage_per_objectstore --- lib/galaxy/model/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index dc389805f58a..b9a39445c696 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -688,7 +688,7 @@ def calculate_user_disk_usage_statements(user_id, quota_source_map, for_sqlite=F """ -def calculate_disk_usage_per_objectstore(sa_session, user_id: str): +def calculate_disk_usage_per_objectstore(sa_session, user_id: int): statement = UNIQUE_DATASET_USER_USAGE_PER_OBJECTSTORE params = {"id": user_id} return sa_session.execute(text(statement), params).all()