# -*- coding: utf-8 -*-

"""Views for PyBEL-Web."""

from .base_view import ModelView

__all__ = [
    'ReportView',
    'ExperimentView',
    'QueryView',
]


class ReportView(ModelView):
    """View for reports."""

    column_exclude_list = ['source', 'calculations', 'source_hash']
    column_display_pk = True
    column_default_sort = ('created', True)
    page_size = 50
    can_set_page_size = True


class ExperimentView(ModelView):
    """View for experiments."""

    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""

    column_exclude_list = ['dump']
    column_default_sort = ('created', True)
    column_display_pk = True

3852d22c98dbdfc3ab64af8c3a00ab2cec8e62af
<mask token>


class ReportView(ModelView):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class ExperimentView(ModelView):
    """View for experiments."""
    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""
    column_exclude_list = ['dump']
    column_default_sort = 'created', True
    column_display_pk = True

<mask token>


class ReportView(ModelView):
    <mask token>
    column_exclude_list = ['source', 'calculations', 'source_hash']
    column_display_pk = True
    column_default_sort = 'created', True
    page_size = 50
    can_set_page_size = True


class ExperimentView(ModelView):
    """View for experiments."""
    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""
    column_exclude_list = ['dump']
    column_default_sort = 'created', True
    column_display_pk = True

<mask token>


class ReportView(ModelView):
    """View for reports."""
    column_exclude_list = ['source', 'calculations', 'source_hash']
    column_display_pk = True
    column_default_sort = 'created', True
    page_size = 50
    can_set_page_size = True


class ExperimentView(ModelView):
    """View for experiments."""
    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""
    column_exclude_list = ['dump']
    column_default_sort = 'created', True
    column_display_pk = True

<mask token>
__all__ = ['ReportView', 'ExperimentView', 'QueryView']


class ReportView(ModelView):
    """View for reports."""
    column_exclude_list = ['source', 'calculations', 'source_hash']
    column_display_pk = True
    column_default_sort = 'created', True
    page_size = 50
    can_set_page_size = True


class ExperimentView(ModelView):
    """View for experiments."""
    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""
    column_exclude_list = ['dump']
    column_default_sort = 'created', True
    column_display_pk = True

# -*- coding: utf-8 -*-

"""Views for PyBEL-Web."""

from .base_view import ModelView

__all__ = [
    'ReportView',
    'ExperimentView',
    'QueryView',
]


class ReportView(ModelView):
    """View for reports."""

    column_exclude_list = ['source', 'calculations', 'source_hash']
    column_display_pk = True
    column_default_sort = ('created', True)
    page_size = 50
    can_set_page_size = True


class ExperimentView(ModelView):
    """View for experiments."""

    column_exclude_list = ['source', 'result']


class QueryView(ModelView):
    """View for queries."""

    column_exclude_list = ['dump']
    column_default_sort = ('created', True)
    column_display_pk = True
