"""
"""
from rest_framework import generics
from . import serializers, filters
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
# Create your views here.


class DataSetList(generics.ListAPIView):
    """API endpoint to List data from dataset model"""
    serializer_class = serializers.DataSetSerializer
    model_class = serializer_class.Meta.model
    queryset = model_class.objects.all()
    filter_class = filters.DataSetFilter

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)

ac9e779e165c45d932dbe4a27c51b4debe3b8c76
<mask token>


class DataSetList(generics.ListAPIView):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)

<mask token>


class DataSetList(generics.ListAPIView):
    <mask token>
    serializer_class = serializers.DataSetSerializer
    model_class = serializer_class.Meta.model
    queryset = model_class.objects.all()
    filter_class = filters.DataSetFilter

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)

<mask token>


class DataSetList(generics.ListAPIView):
    """API endpoint to List data from dataset model"""
    serializer_class = serializers.DataSetSerializer
    model_class = serializer_class.Meta.model
    queryset = model_class.objects.all()
    filter_class = filters.DataSetFilter

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)

<mask token>
from rest_framework import generics
from . import serializers, filters
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page


class DataSetList(generics.ListAPIView):
    """API endpoint to List data from dataset model"""
    serializer_class = serializers.DataSetSerializer
    model_class = serializer_class.Meta.model
    queryset = model_class.objects.all()
    filter_class = filters.DataSetFilter

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)

"""
"""
from rest_framework import generics
from . import serializers, filters
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
# Create your views here.


class DataSetList(generics.ListAPIView):
    """API endpoint to List data from dataset model"""
    serializer_class = serializers.DataSetSerializer
    model_class = serializer_class.Meta.model
    queryset = model_class.objects.all()
    filter_class = filters.DataSetFilter

    @method_decorator(cache_page(60))
    def dispatch(self, *args, **kwargs):
        return super(DataSetList, self).dispatch(*args, **kwargs)
