Skip to content

Commit

Permalink
Merge pull request #17663 from jdavcs/dev_sa20_syntax
Browse files Browse the repository at this point in the history
Fix syntax for SA2.0
  • Loading branch information
jmchilton authored Mar 12, 2024
2 parents 3da05e3 + 5d42bdb commit 63cbae8
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 @@ -7500,7 +7500,7 @@ def copy_tags_from(self, target_user, source_workflow):
def invocation_counts(self) -> InvocationsStateCounts:
sa_session = object_session(self)
stmt = (
select([WorkflowInvocation.state, func.count(WorkflowInvocation.state)])
select(WorkflowInvocation.state, func.count(WorkflowInvocation.state))
.select_from(StoredWorkflow)
.join(Workflow, Workflow.stored_workflow_id == StoredWorkflow.id)
.join(WorkflowInvocation, WorkflowInvocation.workflow_id == Workflow.id)
Expand Down

0 comments on commit 63cbae8

Please sign in to comment.