Skip to content

Commit

Permalink
Return value must be subscriptable
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Feb 22, 2024
1 parent 3c6fb7e commit fe93fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9543,7 +9543,7 @@ def get_or_create():
@classmethod
def get(cls, *args, **kwargs):
stmt = select(PSAAssociation).filter_by(*args, **kwargs)
return cls.sa_session.scalars(stmt)
return cls.sa_session.scalars(stmt).all()

@classmethod
def remove(cls, ids_to_delete):
Expand Down

0 comments on commit fe93fd8

Please sign in to comment.