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.tours._interface

from abc import ABC, abstractmethod

from ._schema import (

[docs]class ToursRegistry(ABC):
[docs] @abstractmethod def get_tours(self) -> TourList: """Return list of tours."""
[docs] @abstractmethod def tour_contents(self, tour_id: str) -> TourDetails: """Return tour contents."""
[docs] @abstractmethod def load_tour(self, tour_id: str) -> TourDetails: """Reload tour and return its contents."""