Skip to content

Commit

Permalink
Fix syntx for SA2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Mar 11, 2024
1 parent 728bbeb commit 5d42bdb
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 5d42bdb

Please sign in to comment.