Removed deprecated `current` attribute of scoped_session

This commit is contained in:
Nicola Soranzo
2025-02-21 09:29:41 +00:00
parent 92e8f50ad5
commit dd80698e4b
9 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ def quotacheck(sa_session, users, engine, object_store):
if __name__ == "__main__":
print("Loading Galaxy model...")
model, object_store, engine = init()
sa_session = model.context.current
sa_session = model.context
if not args.username and not args.email:
user_count = sa_session.query(model.User).count()