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.tools.error_reports.plugins

"""This module describes the abstract interface for :class:`InstrumentPlugin`.

These are responsible for collecting and formatting a coherent set of metrics.
from abc import (

[docs]class ErrorPlugin(metaclass=ABCMeta): """Describes how to send bug reports to various locations.""" @property @abstractmethod def plugin_type(self): """Short string providing labelling this plugin """
[docs] def submit_report(self, dataset, job, tool, user_submission=False, **kwargs): """Submit the bug report and render a string to be displayed to the user. """ return None