mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Access toolbox directly, no need for get attribute
This commit is contained in:
@@ -392,13 +392,12 @@ class HistoriesService(ServiceBase, ConsumesModelStores, ServesExportStores):
|
||||
seed_scope: Optional[str] = None,
|
||||
):
|
||||
history = self.manager.get_accessible(history_id, trans.user, current_history=trans.history)
|
||||
toolbox = getattr(trans.app, "toolbox", None)
|
||||
builder = HistoryGraphBuilder(
|
||||
sa_session=trans.sa_session,
|
||||
security=self.security,
|
||||
history_id=history.id,
|
||||
limit=limit,
|
||||
toolbox=toolbox,
|
||||
toolbox=trans.app.toolbox,
|
||||
include_deleted=include_deleted,
|
||||
seed=seed,
|
||||
direction=direction,
|
||||
|
||||
Reference in New Issue
Block a user