mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Explicitly require UsesAnnotations mixin for the annotations api controller *after* UsesStoredWorkflowMixin.
This commit is contained in:
@@ -3,13 +3,14 @@ API operations on annotations.
|
||||
"""
|
||||
import logging
|
||||
from galaxy import web
|
||||
from galaxy.model.item_attrs import UsesAnnotations
|
||||
from galaxy.util.sanitize_html import sanitize_html
|
||||
from galaxy.web.base.controller import BaseAPIController, HTTPNotImplemented, UsesHistoryDatasetAssociationMixin, UsesHistoryMixin, UsesStoredWorkflowMixin
|
||||
|
||||
log = logging.getLogger( __name__ )
|
||||
|
||||
|
||||
class BaseAnnotationsController( BaseAPIController, UsesHistoryMixin, UsesHistoryDatasetAssociationMixin, UsesStoredWorkflowMixin ):
|
||||
class BaseAnnotationsController( BaseAPIController, UsesHistoryMixin, UsesHistoryDatasetAssociationMixin, UsesStoredWorkflowMixin, UsesAnnotations ):
|
||||
|
||||
@web.expose_api
|
||||
def index( self, trans, **kwd ):
|
||||
|
||||
Reference in New Issue
Block a user