Warning

This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.managers.lddas

import logging

from galaxy import model
from galaxy.managers import base as manager_base
from galaxy.managers.datasets import DatasetAssociationManager
from galaxy.structured_app import MinimalManagerApp

log = logging.getLogger(__name__)


[docs]class LDDAManager(DatasetAssociationManager): """ A fairly sparse manager for LDDAs. """ model_class = model.LibraryDatasetDatasetAssociation
[docs] def __init__(self, app: MinimalManagerApp): """ Set up and initialize other managers needed by lddas. """ super().__init__(app)
[docs] def get(self, trans, id: int, check_accessible=True) -> model.LibraryDatasetDatasetAssociation: return manager_base.get_object( trans, id, "LibraryDatasetDatasetAssociation", check_ownership=False, check_accessible=check_accessible )
def _set_permissions(self, trans, library_dataset, role_ids_dict): # Check Git history for an older broken implementation, but it was broken # and security related and had not test coverage so it was deleted. raise NotImplementedError()