Skip to content

Commit

Permalink
Expose the create method externally since it is utilized outside of t…
Browse files Browse the repository at this point in the history
…he class
  • Loading branch information
heisner-tillman committed Jan 14, 2024
1 parent 3a20cfd commit 9f589f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/webapps/galaxy/services/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def create_fetch(
},
}
create_payload.update(files_payload)
return self._create(trans, create_payload)
return self.create(trans, create_payload)

def _create(self, trans: ProvidesHistoryContext, payload, **kwd):
def create(self, trans: ProvidesHistoryContext, payload, **kwd):
if trans.user_is_bootstrap_admin:
raise exceptions.RealUserRequiredException("Only real users can execute tools or run jobs.")
action = payload.get("action")
Expand Down

0 comments on commit 9f589f1

Please sign in to comment.