<s> from __future__ import absolute_import <EOL> from sentry . api . bases . group import GroupEndpoint <EOL> from sentry . api . serializers import serialize <EOL> from sentry . api . paginator import DateTimePaginator <EOL> from sentry . models import UserReport <EOL> class GroupUserReportsEndpoint ( GroupEndpoint ) : <EOL> def get ( self , request , group ) : <EOL> """<STR_LIT>""" <EOL> report_list = UserReport . objects . filter ( <EOL> group = group <EOL> ) <EOL> return self . paginate ( <EOL> request = request , <EOL> queryset = report_list , <EOL> order_by = '<STR_LIT>' , <EOL> on_results = lambda x : serialize ( x , request . user ) , <EOL> paginator_cls = DateTimePaginator , <EOL> ) </s>
