Skip to content

Commit

Permalink
workaround mypy error on statement using sqlalchemy.select
Browse files Browse the repository at this point in the history
```
lib/galaxy/managers/interactivetool.py:65: error: No overload variant of
"select" matches argument type "ReadOnlyColumnCollection[str, Column[Any]]"
```
  • Loading branch information
kysrpex committed Jul 22, 2024
1 parent dddf5ba commit 6be9b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/interactivetool.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get(self, key, key_type):
columns = ("token", "host", "port", "info")

with self._engine.connect() as conn:
query = select(gxitproxy.c[columns]).where(
query = select(*gxitproxy.c[columns]).where(
gxitproxy.c["key"] == key,
gxitproxy.c["key_type"] == key_type,
)
Expand Down

0 comments on commit 6be9b60

Please sign in to comment.